This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix for fixinc.sh...
- To: Jeffrey A Law <law at cygnus dot com>, egcs-patches at cygnus dot com
- Subject: fix for fixinc.sh...
- From: Bruce Korb <korbb at datadesign dot com>
- Date: Fri, 29 May 1998 15:12:28 -0700
- Organization: Data Design Systems
- Reply-To: ddsinc09 at ix dot netcom dot com
Hi,
This time it was finally fairly easy to create what I needed.
I used this to force fixincludes operation on a Linux box
and then rebuilt the compiler with itself successfully.
(I think that counts for the full three rounds since, actually,
the final output is a fourth generation compilation!)
This was using today's version of the compiler.
Regards,
Bruce
> diff -C5 O*Makefile.in Makefile.in
*** OLDMakefile.in Fri May 29 08:35:15 1998
--- Makefile.in Fri May 29 10:12:13 1998
***************
*** 1959,1973 ****
# Now that gfloat.h no longer depends upon enquire, this is actually a no-op.
stmp-headers:
touch $@
fixinc.sh :
! INSTALLDIR=`cd $(srcdir) ; pwd` \
! CC=$(CC) MAKE=$(MAKE) CFLAGS="$(CFLAGS)" ; \
! export INSTALLDIR CC MAKE CFLAGS ; \
! ( cd ../contrib/fixinc ; \
! $(SHELL) mkfixinc.sh $(target) $$INSTALLDIR )
# Build fixed copies of system files.
stmp-fixinc: $(FIXINCLUDES) gsyslimits.h
rm -rf include
mkdir include
--- 1957,1977 ----
# Now that gfloat.h no longer depends upon enquire, this is actually a no-op.
stmp-headers:
touch $@
fixinc.sh :
! DEST=`cd $(srcdir) ; pwd`/$@ CC=$(CC) MAKE=$(MAKE) CFLAGS="$(CFLAGS)" \
! export DEST CC MAKE CFLAGS ; \
! echo DEST=$$DEST CC=$$CC MAKE=$$MAKE CFLAGS=$$CFLAGS ; \
! cd ../contrib/fixinc ; \
! $(SHELL) mkfixinc.sh $(target) $$DEST
# Build fixed copies of system files.
stmp-fixinc: $(FIXINCLUDES) gsyslimits.h
rm -rf include
mkdir include