This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC can't stop using GNU libiconv if it's in /usr/local
- From: "Kaveh R. Ghazi" <ghazi at caipclassic dot rutgers dot edu>
- To: sje at cup dot hp dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 19 Jan 2006 10:25:39 -0500 (EST)
- Subject: Re: GCC can't stop using GNU libiconv if it's in /usr/local
- References: <200601171828.KAA00482@hpsje.cup.hp.com>
> > IMHO, the fact that GCC includes /usr/local/include by default in
> > it's system header search path is brain damaged, but it's probably
> > way too entrenched to revisit that. :-(
>
> You can stop this by specifying --with-local-prefix=/not-usr-local
> when configuring GCC.
Aha, --with-local-prefix=<foo> plus --without-libiconv-prefix did the
trick for me.
Thanks,
--Kaveh
PS: --with-local-prefix= wasn't documented in cpp.texi, only in
install.texi which is why I missed it. Thanks again.
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu