This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: lib path
- To: "Vu Pham" <vuqpham at hcmc dot netnam dot vn>
- Subject: Re: lib path
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 06 Jan 2000 16:44:32 -0200
- Cc: "gcc" <gcc at gcc dot gnu dot org>
- References: <000b01bf5832$c13a8470$3803a8c0@athome.com>
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