GCC can't stop using GNU libiconv if it's in /usr/local

Steve Ellcey sje@cup.hp.com
Tue Jan 17 18:28:00 GMT 2006


> 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



More information about the Gcc mailing list