]> gcc.gnu.org Git - gcc.git/commitdiff
* Makefile.in (bootstrap): New target.
authorJeffrey A Law <law@cygnus.com>
Thu, 11 Sep 1997 03:32:08 +0000 (03:32 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 11 Sep 1997 03:32:08 +0000 (21:32 -0600)
From-SVN: r15399

ChangeLog
Makefile.in

index 959a1af78c9771c09e06813e48655f936b80b477..8c04a1de4311565e20c8fa891364b10a397536df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 10 21:29:54 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (bootstrap): New target.
+
 Wed Sep 10 15:19:22 1997  Jeffrey A Law  (law@cygnus.com)
 
        * config.sub: Accept 'amigados' for backward compatability.
index af7fb16c2764fca9b90d3246e3a1a359801de656..ee4a50dda2c3201f8d19d614bf947d16923df13c 100644 (file)
@@ -1284,6 +1284,31 @@ all-bootstrap:
          true; \
        fi
 
+# Building GCC uses some tools for rebuilding "source" files
+# like texinfo, bison/byacc, etc.  So we must depend on those.
+#
+# While building GCC, it may be necessary to run various target
+# programs like the assembler, linker, etc.  So we depend on
+# those too.
+#
+# In theory, on an SMP all those dependencies can be resolved
+# in parallel.
+#
+.PHONY: bootstrap
+bootstrap: 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) \
+       echo "Bootstrapping the compiler with -O2 -g"; \
+       cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) BOOT_CFLAGS="-O2 -g" bootstrap
+       @r=`pwd`; export r; \
+       s=`cd $(srcdir); pwd`; export s; \
+       $(SET_LIB_PATH) \
+       echo "Comparing stage2 and stage3 of the compiler"; \
+       cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) BOOT_CFLAGS="-O2 -g" compare
+       @echo "Building runtime libraries"; \
+       $(MAKE) all
+
 .PHONY: check-gcc
 check-gcc:
        @if [ -f ./gcc/Makefile ] ; then \
This page took 0.077393 seconds and 5 git commands to generate.