# HG changeset patch # User Gerd Moellmann # Date 1002967120 0 # Node ID 6bd2a61edfa845f151a646c3dee7032ccfc7bf9e # Parent 5d4c74dbc27992bbc439a55723f5b75073401813 Add --boot switch for bootstrapping. Logs to EMACS_ROOT/boot.log, renames previous log file to boot.log.old. diff -r 5d4c74dbc279 -r 6bd2a61edfa8 admin/make-emacs --- a/admin/make-emacs Sat Oct 13 09:46:39 2001 +0000 +++ b/admin/make-emacs Sat Oct 13 09:58:40 2001 +0000 @@ -49,6 +49,7 @@ "malloc-check" => \$malloc_check, "no-mcheck" => \$no_mcheck, "alias" => \$aliasing, + "boot" => \$boot, "wall" => \$wall, "gcc3" => \$gcc3, "trace-selection" => \$trace_selection, @@ -64,6 +65,7 @@ --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 @@ $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: