diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-10-13 09:58:53 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-10-13 09:58:53 +0000 |
commit | f2164e31dc7c98634267abe52f12b4494fbc7f9a (patch) | |
tree | b0504a6d8a0702c5575876134db1c81bcf3a38b4 /admin/make-emacs | |
parent | 75a4e7c5666af1d058cae26e3a175f9eb5781106 (diff) | |
download | emacs-f2164e31dc7c98634267abe52f12b4494fbc7f9a.tar.gz |
Add --boot switch for bootstrapping. Logs to
EMACS_ROOT/boot.log, renames previous log file to boot.log.old.
Diffstat (limited to 'admin/make-emacs')
-rwxr-xr-x | admin/make-emacs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/make-emacs b/admin/make-emacs index 83683c41269..fb427540b2d 100755 --- a/admin/make-emacs +++ b/admin/make-emacs @@ -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: |