Gentoo Archives: gentoo-alt

From: Al <oss.elmar@××××××××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Prefix/Cygwin: shared libraries
Date: Sun, 12 Sep 2010 13:59:12
Message-Id: AANLkTim+0+YMRfwGk_gCURXkpCzPcTKgKCh81NH_-wmy@mail.gmail.com
1 I want to file in a few postings now. They are mainly targeted for the
2 archives, but also to communicate knowlege on Cygwin. Sure your
3 annotations are welcome.
4
5 On windows there is nothing like rpath. Shared libraries are searched
6 in the PATH. More officially and in detail you find it here:
7
8 http://msdn.microsoft.com/en-us/library/7d83bc18%28VS.71%29.aspx
9
10 I needed to change to places:
11
12 a) $PREFIX/etc/env.d/00basic
13
14 PATH="/home/prefix/gentoo/usr/lib:/home/prefix/gentoo/lib:/home/prefix/gentoo/opt/bin:/home/
15
16 b) $PREFIX/usr/portage/profiles/prefix/windows/cygwin/1.7/x86/make.defaults
17
18 EPREFIX="/home/prefix/gentoo"
19 DEFAULT_PATH="${DEFAULT_PATH}:${EPREFIX}/lib:${EPREFIX}/usr/lib"
20
21 Examples where prefixed shared libraries are installed in Cygwin:
22
23 */lib/libbz2.so
24 */usr/lib/cyghistory6.dll
25 */usr/lib/cygreadline6.dll
26 */usr/lib/libperl.so
27 */usr/lib/libz.so
28
29 */usr/bin/cygcharset-1.dll*
30 */usr/bin/cygexpat-1.dll*
31 */usr/bin/cygffi-5.dll*
32
33 Al