This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc -print-search-dirs
- From: "Sisyphus" <sisyphus1 at optusnet dot com dot au>
- To: "gcc" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 21 Jul 2006 10:40:48 +1000
- Subject: gcc -print-search-dirs
Hi,
On my linux (mandrake-9.1) box the command 'gcc -print-search-dirs' fails to
produce the output I expect. For some reason '/usr/local/lib' (or indeed
*any* location under the '/usr/local/' tree) doesn't get a mention - though
libraries that exist *only* in /usr/local/lib are definitely being found by
default (ie without having to provide the '-L/usr/local/lib' switch).
Is there a simple alternative I can use that will output the *entire*
library search paths ?
Cheers,
Rob