mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
without building the cross-compiler. Still seems a bit much that it requires 81 source files.
23 lines
618 B
Bash
Executable file
23 lines
618 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Load our build configuration
|
|
. output/build-config
|
|
|
|
time $SBCL_XC_HOST <<EOF
|
|
(load "src/cold/shared.lisp")
|
|
(load "src/cold/set-up-cold-packages.lisp")
|
|
(in-package "SB-COLD")
|
|
(in-host-compilation-mode
|
|
(lambda ()
|
|
(do-stems-and-flags (stem flags)
|
|
(when (member :c-headers flags)
|
|
(handler-bind ((style-warning (function muffle-warning)))
|
|
(load (merge-pathnames (stem-remap-target stem) ".lisp")))))
|
|
(load "src/compiler/generic/genesis.lisp")))
|
|
(genesis :c-header-dir-name "src/runtime/genesis/" :verbose nil)
|
|
EOF
|
|
|
|
diff -r output/genesis-2 src/runtime/genesis
|
|
|
|
(cd src/runtime ; make)
|