This is the mail archive of the gcc@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]

Re: lib path


On Jan  6, 2000, vuqpham@hcmc.netnam.vn (vuqpham) wrote:

> As I understand, when running gcc -print-search-dirs, gcc will list the
> paths for searching libraries and include files.

> How can I change this list of directories ?

You'd usually have to rebuild gcc, after configuring it with a
different --prefix.  But a similar effect can be accomplished by
setting environment variables.  Search for `-print-search-dirs' in the
GCC info file and you'll find some useful pointers.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


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