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: Steve Ellcey <sje at cup dot hp dot com>
- To: ghazi at caipclassic dot rutgers dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 17 Jan 2006 10:28:32 -0800 (PST)
- Subject: Re: GCC can't stop using GNU libiconv if it's in /usr/local
> 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. :-(
>
> --Kaveh
> --
> Kaveh R. Ghazi ghazi@caip.rutgers.edu
You can stop this by specifying --with-local-prefix=/not-usr-local when
configuring GCC.
I have built a GCC into a location like /be by specifying both
--prefix=/be and --with-local-prefix=/be
This GCC does not look in /usr/local/include (but does search
/be/include).
Steve Ellcey
sje@cup.hp.com