From: hjl@lucon.org (H.J. Lu)
To: egcs@cygnus.com
Subject: A bootstrap-ultralean patch
Date: Fri, 16 Jan 1998 02:26:00 -0000 [thread overview]
Message-ID: <m0xt18j-0004ecC@ocean.lucon.org> (raw)
Hi,
I made this patch to allow
# make bootstrap-ultralean
which only builds the C compiler for stage 1. It saves both CPU
time and disk space.
Thanks.
--
H.J. Lu (hjl@gnu.org)
--
Thu Jan 15 17:00:42 1998 H.J. Lu (hjl@gnu.org)
* Makefile.in (bootstrap-ultralean): New target.
Index: gcc/Makefile.in
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/Makefile.in,v
retrieving revision 1.1.1.17
diff -u -r1.1.1.17 Makefile.in
--- gcc/Makefile.in 1998/01/14 03:09:43 1.1.1.17
+++ gcc/Makefile.in 1998/01/16 01:48:18
@@ -2662,7 +2669,7 @@
$(LANG_DIFF_EXCLUDES) \
gcc-$(oldversion) gcc-$(version) > diffs
-bootstrap bootstrap-lean: force
+bootstrap bootstrap-lean bootstrap-ultralean: 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.
@@ -2673,9 +2680,12 @@
# To prevent `make install' from compiling alloca.o and then relinking cc1
# because alloca.o is newer, we permit these recursive makes to compile
# alloca.o. Then cc1 is newer, so it won't have to be relinked.
- $(MAKE) CC="stage1/xgcc -Bstage1/" CFLAGS="$(BOOT_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage1/ LANGUAGES="$(LANGUAGES)"
+ if test $@ = bootstrap-ultralean; then \
+ languages="$(BOOT_LANGUAGES)"; else \
+ languages="$(LANGUAGES)"; fi; \
+ $(MAKE) CC="stage1/xgcc -Bstage1/" 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; then true; else rm -rf stage1; fi
$(MAKE) CC="stage2/xgcc -Bstage2/" CFLAGS="$(BOOT_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage2/ LANGUAGES="$(LANGUAGES)"
bootstrap2: force
Thu Jan 15 17:37:23 1998 H.J. Lu (hjl@gnu.org)
* Makefile.in (bootstrap-ultralean): New target.
Index: Makefile.in
===================================================================
RCS file: /home/work/cvs/gnu/egcs/Makefile.in,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 Makefile.in
--- Makefile.in 1997/12/08 17:03:45 1.1.1.8
+++ Makefile.in 1998/01/16 01:43:34
@@ -1290,8 +1290,8 @@
# In theory, on an SMP all those dependencies can be resolved
# in parallel.
#
-.PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap3 bootstrap4
-bootstrap bootstrap-lean bootstrap2 bootstrap3 bootstrap4: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
+.PHONY: bootstrap bootstrap-lean bootstrap-ultralean bootstrap2 bootstrap3 bootstrap4
+bootstrap bootstrap-lean bootstrap-ultralean bootstrap2 bootstrap3 bootstrap4: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
@r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
@@ -1302,7 +1302,7 @@
case "$@" in \
*bootstrap4 ) msg="Comparing stage3 and stage4 of the compiler"; \
compare=compare3 ;; \
- *-lean ) msg="Comparing stage2 and stage3 of the compiler"; \
+ *-lean | *-ultralean ) msg="Comparing stage2 and stage3 of the compiler"; \
compare=compare-lean ;; \
* ) msg="Comparing stage2 and stage3 of the compiler"; \
compare=compare ;; \
next reply other threads:[~1998-01-16 2:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-16 2:26 H.J. Lu [this message]
1998-01-17 22:30 ` Jeffrey A Law
1998-01-19 2:06 ` H.J. Lu
1998-01-20 7:06 ` Jeffrey A Law
1998-01-20 9:08 ` Jeffrey A Law
1998-01-17 22:30 ` Joe Buck
1998-01-19 2:07 ` H.J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m0xt18j-0004ecC@ocean.lucon.org \
--to=hjl@lucon.org \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).