This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]