Mail Archives: cygwin/2003/02/05/08:27:14
From the gcc info (`info gcc`), chapter "Environment variables":
`LIBRARY_PATH'
The value of `LIBRARY_PATH' is a colon-separated list of
directories, much like `PATH'. When configured as a native
compiler, GCC tries the directories thus specified when searching
for special linker files, if it can't find them using
`GCC_EXEC_PREFIX'. Linking using GCC also uses these directories
when searching for ordinary libraries for the `-l' option (but
directories specified with `-L' come first).
I think this is what you need - if not, try being more specific (or read
the other answers you'll probably get).
Ciao!
rlc
On Wed, 5 Feb 2003, Isaque Galdino wrote:
> Hi guys,
>
> I've installed the last cygwin version and it doesn't have
> the /usr/local/lib directory in my default search library
> path, as you can see in gcc -v:
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
> Configured with: /netrel/src/gcc-3.2-3/configure --enable-
> languages=c,c++,f77,java --enable-libgcj --enable-
> threads=posix --with-system-zlib --enable-nls --without-
> included-gettext --enable-interpreter --disable-sjlj-
> exceptions --disable-version-specific-runtime-libs --enable-
> shared --build=i686-pc-linux --host=i686-pc-cygwin --
> target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-
> prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --
> includedir=/nonexistent/include --libexecdir=/usr/sbin
> Thread model: posix
> gcc version 3.2 20020927 (prerelease)
>
> So, my question is, how can I include /usr/local/lib in my
> library search path, by default?
>
> Thank you.
>
> 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/
- Raw text -