Re: linker default library search path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guillaume,

* Guillaume Rousse wrote on Wed, May 31, 2006 at 10:38:46AM CEST:
> I recently get surprised by different behaviour of AC_CHECK_LIB on
> x86_64 and i586 mandriva machines. It seems than on the first one,
> /usr/local/lib is also part of the default search path. I read ld
> documentation, but I couldn't find any way to explicitely check my
> assumption. So, is there any way to display linker default library
> search path ?

The default search paths for the linker are /lib and /usr/lib.
I think you may be looking for
  gcc -print-search-dirs

and I think these paths may be adjusted by adjusting GCC spec files.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux