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

Use of fixincluded headers in bootstrap


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


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