This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Use of fixincluded headers in bootstrap
- To: <gcc at gcc dot gnu dot org>
- Subject: Use of fixincluded headers in bootstrap
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Thu, 22 Mar 2001 02:10:30 +0000 (GMT)
Another old installation problem listed in gcc.texi that I'd like to be
obsolete and remove (since it relates to manually bootstrapping instead
of using make bootstrap) is:
@item
In Ultrix 4.0 on the MIPS machine, @file{stdio.h} does not work with GNU
CC at all unless it has been fixed with @code{fixincludes}. This causes
problems in building GCC. Once GCC is installed, the problems go
away.
To work around this problem, when making the stage 1 compiler, specify
this option to Make:
@example
GCC_FOR_TARGET="./xgcc -B./ -I./include"
@end example
When making stage 2 and stage 3, specify this option:
@example
CFLAGS="-g -I./include"
@end example
Investigating with current GCC, it seems that the definition of
GCC_FOR_TARGET here is obsolete; GCC will use its fixincluded headers when
compiling libgcc etc. - but GCC doesn't seem to be using the fixincluded
header directory when recompiling itself. Is there something I've missed
here, or is there some reason for GCC not to use the fixincluded headers
in subsequent bootstrap stages?
--
Joseph S. Myers
jsm28@cam.ac.uk