[Bug c/25645] gcc search for header files in /usr/local/include before command-line specified directories
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 10 14:28:00 GMT 2006
------- Comment #3 from ebotcazou at gcc dot gnu dot org 2006-01-10 14:28 -------
I was a bit terse: -I is ignored for $(prefix)/include. See the entry for
--with-local-prefix in http://gcc.gnu.org/install/configure.html .
If you don't want /usr/local/include to be searched, "configure it away" by
specifying --with-local-prefix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25645
More information about the Gcc-bugs
mailing list