Restore a test.
[sbcl.git] / make-genesis-2.lisp
blobff3092616142e9b4879d0aed0c27b19d695a2540
1 (setf *print-level* 5 *print-length* 5)
2 (load "src/cold/shared.lisp")
3 (in-package "SB-COLD")
4 (setf *host-obj-prefix* "obj/from-host/"
5 *target-obj-prefix* "obj/from-xc/")
6 (load "src/cold/set-up-cold-packages.lisp")
7 (load "src/cold/defun-load-or-cload-xcompiler.lisp")
8 (load-or-cload-xcompiler #'host-load-stem)
9 (defparameter *target-object-file-names*
10 (with-open-file (s "output/object-filenames-for-genesis.lisp-expr"
11 :direction :input)
12 (read s)))
13 (host-cload-stem "src/compiler/generic/genesis" nil)
15 (sb-cold:genesis :object-file-names *target-object-file-names*
16 :c-header-dir-name "output/genesis-2"
17 :symbol-table-file-name "src/runtime/sbcl.nm"
18 :core-file-name "output/cold-sbcl.core"
19 ;; The map file is not needed by the system, but can be
20 ;; very handy when debugging cold init problems.
21 :map-file-name "output/cold-sbcl.map")
22 #+cmu (ext:quit)
23 #+clisp (ext:quit)
24 #+abcl (ext:quit)