This is the mail archive of the gcc-bugs@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]

[Bug target/17508] Bootstrap fails to find system headers: sys/m_types.h, sys/limits.h


------- 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


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