diff options
| author | robertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-11 17:50:31 +0000 |
|---|---|---|
| committer | robertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-11 17:50:31 +0000 |
| commit | fef366668ab5c61fe0e28b47fb96a7ad14261d79 (patch) | |
| tree | a2f559f1cac65acd0bef122654cc57979fd90a91 | |
| parent | c7b3e4a1fb4f63147331f425dfef253ff19857c0 (diff) | |
| download | ppe42-gcc-fef366668ab5c61fe0e28b47fb96a7ad14261d79.tar.gz ppe42-gcc-fef366668ab5c61fe0e28b47fb96a7ad14261d79.zip | |
* Makefile.in (bootstrap-lean): Remove additional files.
(bootstrap2-lean): Likewise. (VOL_FILES): List of files for above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31923 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/Makefile.in | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ab363902fc..f991024e3b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-02-11 Robert Lipe <robertl@sco.com> + + * Makefile.in (bootstrap-lean): Remove additional files. + (bootstrap2-lean): Likewise. (VOL_FILES): List of files for above. + 2000-02-11 Nathan Sidwell <nathan@acm.org> * cpphash.c (special_symbol): Remove spurious argument to diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 31a0173f73f..2447401d34f 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2969,12 +2969,16 @@ diff: $(LANG_DIFF_EXCLUDES) \ gcc-$(oldversion) gcc-$(version) > gcc-$(oldversion)-$(version).diff +# A list of files to be destroyed during "lean" builds. +VOL_FILES=`echo $(OBJS) $(C_OBJS) $(LIBCPP_OBJS) *.c *.h gen*` + bootstrap bootstrap-lean: force # Only build the C compiler for stage1, because that is the only one that # we can guarantee will build with the native compiler, and also it is the # only thing useful for building stage2. $(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)" $(MAKE) stage1 + -if test $@ = bootstrap-lean; then cd stage1 ; rm -f $(VOL_FILES); else true; fi # This used to define ALLOCA as empty, but that would lead to bad results # for a subsequent `make install' since that would not have ALLOCA empty. # To prevent `make install' from compiling alloca.o and then relinking cc1 @@ -2982,13 +2986,13 @@ bootstrap bootstrap-lean: force # alloca.o. Then cc1 is newer, so it won't have to be relinked. $(MAKE) CC="stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" CFLAGS="$(WARN_CFLAGS) $(BOOT_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage1/ LANGUAGES="$(LANGUAGES)" $(MAKE) stage2 - -if test $@ = bootstrap-lean; then rm -rf stage1; else true; fi + -if test $@ = bootstrap-lean; then rm -rf stage1; cd stage2 ; rm -f $(VOL_FILES); else true; fi $(MAKE) CC="stage2/xgcc$(exeext) -Bstage2/ -B$(build_tooldir)/bin/" CFLAGS="$(WARN_CFLAGS) $(BOOT_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage2/ LANGUAGES="$(LANGUAGES)" bootstrap2 bootstrap2-lean: force $(MAKE) CC="stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" CFLAGS="$(WARN_CFLAGS) $(BOOT_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage1/ LANGUAGES="$(LANGUAGES)" $(MAKE) stage2 - -if test $@ = bootstrap2-lean; then rm -rf stage1; else true; fi + -if test $@ = bootstrap2-lean; then rm -rf stage1; cd stage2 ; rm -f $(VOL_FILES); else true; fi $(MAKE) CC="stage2/xgcc$(exeext) -Bstage2/ -B$(build_tooldir)/bin/" CFLAGS="$(WARN_CFLAGS) $(BOOT_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage2/ LANGUAGES="$(LANGUAGES)" bootstrap3 bootstrap3-lean: force |

