This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: /usr/local/lib on library path
- From: Ronald Landheer-Cieslak <ronald at landheer dot com>
- To: Isaque Galdino <isaque at uol dot com dot br>
- Cc: cygwin at cygwin dot com
- Date: Thu, 6 Feb 2003 10:54:23 +0100 (CET)
- Subject: Re: /usr/local/lib on library path
Ehm.. why?
Try a gcc -print-search-dirs on any *NIX of GNU box and see if
/usr/local/lib is in there. On my Linux box, this gives:
libraries:
=/usr/lib/gcc-lib/i386-redhat-linux/3.2/:/usr/lib/gcc/i386-redhat-linux/3.2/:/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../../i386-redhat-linux/lib/i386-redhat-linux/3.2/:/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../../i386-redhat-linux/lib/:/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../i386-redhat-linux/3.2/:/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../:/lib/i386-redhat-linux/3.2/:/lib/:/usr/lib/i386-redhat-linux/3.2/:/usr/lib/
and on my FreeBSD box this gives:
libraries:
=/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/:/usr/lib/gcc/i386-unknown-freebsd4.7/3.2.1/:/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/../../../../i386-unknown-freebsd4.7/lib/i386-unknown-freebsd4.7/3.2.1/:/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/../../../../i386-unknown-freebsd4.7/lib/:/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/../../../i386-unknown-freebsd4.7/3.2.1/:/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/../../../:/lib/i386-unknown-freebsd4.7/3.2.1/:/lib/:/usr/lib/i386-unknown-freebsd4.7/3.2.1/:/usr/lib/
so I see no reason for Cygwin to add it when Linux and BSD don't (not that
Linux and BSD are the only relevant systems to compare to, of course)
rlc
On Wed, 5 Feb 2003, Isaque Galdino wrote:
> > From the gcc info (`info gcc`), chapter "Environment variabl
> es":
> > `LIBRARY_PATH'
> > The value of `LIBRARY_PATH' is a colon-
> separated list of
> That's ok, but shouldn't it be already been configured by
> cygwin environment?
>
> Isaque Galdino
> "Free as a penguim" - maybe The Beatles were trying to
> say that! :)
>
>
> ---
> UOL, o melhor da Internet
> http://www.uol.com.br/
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/