Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Alt (http://www.linux-archive.org/gentoo-alt/)
-   -   Prefix/Cygwin: shared libraries (http://www.linux-archive.org/gentoo-alt/426091-prefix-cygwin-shared-libraries.html)

Al 09-12-2010 01:59 PM

Prefix/Cygwin: shared libraries
 
I want to file in a few postings now. They are mainly targeted for the
archives, but also to communicate knowlege on Cygwin. Sure your
annotations are welcome.

On windows there is nothing like rpath. Shared libraries are searched
in the PATH. More officially and in detail you find it here:

http://msdn.microsoft.com/en-us/library/7d83bc18%28VS.71%29.aspx

I needed to change to places:

a) $PREFIX/etc/env.d/00basic

PATH="/home/prefix/gentoo/usr/lib:/home/prefix/gentoo/lib:/home/prefix/gentoo/opt/bin:/home/

b) $PREFIX/usr/portage/profiles/prefix/windows/cygwin/1.7/x86/make.defaults

EPREFIX="/home/prefix/gentoo"
DEFAULT_PATH="${DEFAULT_PATH}:${EPREFIX}/lib:${EPREFIX}/usr/lib"

Examples where prefixed shared libraries are installed in Cygwin:

*/lib/libbz2.so
*/usr/lib/cyghistory6.dll
*/usr/lib/cygreadline6.dll
*/usr/lib/libperl.so
*/usr/lib/libz.so

*/usr/bin/cygcharset-1.dll*
*/usr/bin/cygexpat-1.dll*
*/usr/bin/cygffi-5.dll*

Al


All times are GMT. The time now is 07:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.