[Bug target/17508] Bootstrap fails to find system headers: sys/m_types.h, sys/limits.h
wilson at specifixinc dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 15 23:17:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list