+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.
"malloc-check" => \$malloc_check,
"no-mcheck" => \$no_mcheck,
"alias" => \$aliasing,
+ "boot" => \$boot,
"wall" => \$wall,
"gcc3" => \$gcc3,
"trace-selection" => \$trace_selection,
--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
$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: