Disabling fixincludes (was Re: Installing GCC-3.2 problem.)

Greg Schafer gschafer at zip.com.au
Fri Sep 20 03:19:49 PDT 2002


On Fri, Sep 20, 2002 at 12:47:59AM -0500, Kelledin wrote:
> On Thursday 19 September 2002 09:10 pm, you wrote:
> > Hey Kelledin, did you ever figure out a clean way on how to
> > handle this? My tests so far have been unfruitful.
> >
> > It appears the internal gcc include directory contains a mix
> > of internal gcc headers (VERY necessary) and the fixed
> > headers. In other words, one cannot just do away with the
> > contents of that dir as things just don't work afterwards.
> >
> > I played around with the variables mentioned by Tush in both
> > the configure acript and in the Makefile and either gcc
> > wouldn't build or it was non-functional afterwards ie: it
> > wouldn't build other stuff.
> 
> What I've done is just change the fixincl.sh script so it does 
> nothing.  Maybe not a clean solution, but it does work... ;)

Indeed. Think I've found a cleaner solution. At least the patch is
a fair bit smaller :)

It passed a full build of base LFS.

Greg

PS - I hate digging around in gcc's build system.. it's a freakin
nightmare...
-------------- next part --------------
diff -uNr gcc-3.2.orig/gcc/Makefile.in gcc-3.2/gcc/Makefile.in
--- gcc-3.2.orig/gcc/Makefile.in	2002-05-24 03:57:21.000000000 +1000
+++ gcc-3.2/gcc/Makefile.in	2002-09-20 14:06:19.000000000 +1000
@@ -2153,7 +2153,6 @@
 	(TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); pwd`; \
 	SHELL='$(SHELL)' ;\
 	export TARGET_MACHINE srcdir SHELL ; \
-	$(SHELL) ./fixinc.sh `pwd`/include $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS); \
 	rm -f include/syslimits.h; \
 	if [ -f include/limits.h ]; then \
 	  mv include/limits.h include/syslimits.h; \


More information about the lfs-dev mailing list