From: Taylor R Campbell Date: Wed, 29 May 2013 14:04:37 +0000 (+0000) Subject: Generate an intermediate lib/compiler.com. X-Git-Tag: release-9.2.0~179^2~3 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=7b443b4c7fb50ef7c4d31f8ebaf6c1c4bd1ded74;p=mit-scheme.git Generate an intermediate lib/compiler.com. We stopped installing this ages ago and hence stopped building it, but now that each subdirectory is built in a separate process, it's useful to avoid reloading the compiler repeatedly during the build. --- diff --git a/src/Makefile.in b/src/Makefile.in index 8e70e932e..4ede37d7e 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -101,6 +101,14 @@ lib/runtime.com: microcode/scheme | ../microcode/scheme --batch-mode --library ../lib \ --fasl "$${FASL}")) +lib/compiler.com: compile-compiler +lib/compiler.com: lib/runtime.com +lib/compiler.com: microcode/scheme + (echo '(begin' && \ + echo ' (load-option (quote COMPILER))' && \ + echo ' (disk-save "lib/compiler.com"))') \ + | ./microcode/scheme --batch-mode --library lib --band runtime.com + lib/all.com: compile-compiler lib/all.com: compile-edwin lib/all.com: compile-sf @@ -165,13 +173,10 @@ compile-compiler: syntax-compiler | '$(MIT_SCHEME_EXE)' --batch-mode .PHONY: bootstrap-toolchain -bootstrap-toolchain: compile-compiler -bootstrap-toolchain: compile-runtime -bootstrap-toolchain: lib/runtime.com +bootstrap-toolchain: lib/compiler.com bootstrap-toolchain: microcode/scheme BOOTSTRAP_TOOLCHAIN = \ - ./microcode/scheme --batch-mode --library lib --band runtime.com \ - --eval '(load-option (quote COMPILER))' \ + ./microcode/scheme --batch-mode --library lib --band compiler.com \ --eval '(load "etc/compile.scm")' .PHONY: compile-edwin