This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25645] gcc search for header files in /usr/local/include before command-line specified directories
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2006 14:28:54 -0000
- Subject: [Bug c/25645] gcc search for header files in /usr/local/include before command-line specified directories
- References: <bug-25645-11952@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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