]> code.delx.au - gnu-emacs/commitdiff
Add --boot switch for bootstrapping. Logs to
authorGerd Moellmann <gerd@gnu.org>
Sat, 13 Oct 2001 09:58:53 +0000 (09:58 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sat, 13 Oct 2001 09:58:53 +0000 (09:58 +0000)
EMACS_ROOT/boot.log, renames previous log file to boot.log.old.

admin/ChangeLog
admin/make-emacs

index 49ab1a38de94e6500b7de6ac9df867ac7741277f..485825e06fcf652a719b882b4fade3065a366af8 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-13  Gerd Moellmann  <gerd@gnu.org>
+
+       * make-emacs: Add --boot switch for bootstrapping.  Logs to
+       EMACS_ROOT/boot.log, renames previous log file to boot.log.old.
+
 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
 
        * Branch for 21.1.
index 83683c4126923b119f4483cba00f09440f157484..fb427540b2dadc255872f65f3f92cf28953ec873 100755 (executable)
@@ -49,6 +49,7 @@ $rc = GetOptions ("help" => \$help,
                  "malloc-check" => \$malloc_check,
                  "no-mcheck" => \$no_mcheck,
                  "alias" => \$aliasing,
+                  "boot" => \$boot,
                  "wall" => \$wall,
                  "gcc3" => \$gcc3,
                  "trace-selection" => \$trace_selection,
@@ -64,6 +65,7 @@ Build Emacs.
 
  --help                        show this help
  --all                 make clean versionclean first
+ --boot                        make boostrap, log to boot.log
  --enable-checking     ENABLE_CHECKING=1 (implies Lisp union type)
  --no-warn             disable warnings
  --check-marked                GC_CHECK_MARKED_OBJECTS=1
@@ -168,6 +170,13 @@ $opts = "$opts $warn" if $warn;
 $cc = "/usr/bin/gcc";
 $cc = "/gd/local/bin/gcc" if $gcc3;
 
+if ($boot)
+  {
+    chdir "..";
+    system "mv boot.log boot.log.old" if -f "boot.log";
+    exit system "script boot.log $make CC=\"$cc\" CFLAGS=\"$opts\" bootstrap";
+  }
+
 exit system "$make CC=\"$cc\" CFLAGS=\"$opts\" @ARGV";
 
 # Local Variables: