-print-search-dirs
Der Herr Hofrat
der.herr@mail.hofr.at
Mon Oct 21 00:10:00 GMT 2002
>
> 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
More information about the Gcc-help
mailing list