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]
Other format: [Raw text]

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


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