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. :-(
 > 
 > 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


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