This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17508] Bootstrap fails to find system headers: sys/m_types.h, sys/limits.h
- From: "wilson at specifixinc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2004 23:17:05 -0000
- Subject: [Bug target/17508] Bootstrap fails to find system headers: sys/m_types.h, sys/limits.h
- References: <20040915192709.17508.skunk@iskunk.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From wilson at specifixinc dot com 2004-09-15 23:17 -------
Subject: Re: Bootstrap fails to find system headers: sys/m_types.h,
sys/limits.h
skunk at iskunk dot org wrote:
> My impression was that the options passed to the aforementioned invocation of
> xgcc were causing the compiler not to look in /usr/include at all, such that
> these two basic #include directives would fail.
Gcc does search in /usr/include normally. Otherwise, it would not build
for anyone at all. If it isn't for you, then that begs the question of
whether you did something funny with configure options or environment
variables that confused gcc.
By the way, if you look carefully at the Makefile output you put in the
bug report, you will see references to /usr/include/sys/mtsave.h and
/usr/include/sys/context.h which strongly imply that gcc is looking in
/usr/include.
There must be something subtle that is going wrong here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17508