This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -print-search-dirs
- From: Der Herr Hofrat <der dot herr at mail dot hofr dot at>
- To: "Premetz, Dan (MED)" <Daniel dot Premetz at med dot ge dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 21 Oct 2002 08:11:09 +0200 (CEST)
- Subject: Re: -print-search-dirs
>
> I have gcc installed in:
> /vobs/os/root/lib/gcc-lib/i686-pc-linux-gnu/3.2/
>
> Can the "GCC_EXEC_PREFIX" or "LIBRARY_PATH" environment variables be
> used to *replace* the standard library search path?
No - LIBRARY_PATH is the first path after gcc's own libdir but LIBRARY_PATH
will not eliminate /lib/ /usr/lib it only adds any paths you pass befor any
of the default paths, GCC_EXEC_PREFIX will add some more directories but not
remove any of the default search paths.
hofrat