Fix MAYBE-WITH-PINNED-OBJECTS for PPC/GENCGC.
[sbcl.git] / make-genesis-2.lisp
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-load-stem "src/compiler/generic/genesis" nil)
14 (sb!vm:genesis :object-file-names *target-object-file-names*
15                :c-header-dir-name "output/genesis-2"
16                :symbol-table-file-name "src/runtime/sbcl.nm"
17                :core-file-name "output/cold-sbcl.core"
18                ;; The map file is not needed by the system, but can be
19                ;; very handy when debugging cold init problems.
20                :map-file-name "output/cold-sbcl.map")
21 #+cmu (ext:quit)
22 #+clisp (ext:quit)
23 #+abcl (ext:quit)