autoconf
[Top][All Lists]
Advanced

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

Re: linker default library search path


From: Ralf Wildenhues
Subject: Re: linker default library search path
Date: Thu, 1 Jun 2006 16:51:24 +0200
User-agent: Mutt/1.5.11

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]