Merge branch 'master' of git://repo.or.cz/sbcl
[sbcl/attila.git] / make-host-1.lisp
blob0a22dfe2ff1f9bfd7a2a0c1a4468a2eaaafab69a
1 ;;; (We want to have some limit on print length and print level during
2 ;;; bootstrapping because PRINT-OBJECT only gets set up rather late,
3 ;;; and running without PRINT-OBJECT it's easy to fall into printing
4 ;;; enormous (or infinitely circular) low-level representations of
5 ;;; things.)
6 (setf *print-level* 5 *print-length* 5)
8 (load "src/cold/shared.lisp")
9 (load "tools-for-build/ldso-stubs.lisp")
10 (in-package "SB-COLD")
11 (setf *host-obj-prefix* "obj/from-host/")
12 (load "src/cold/set-up-cold-packages.lisp")
13 (load "src/cold/defun-load-or-cload-xcompiler.lisp")
14 (load-or-cload-xcompiler #'host-cload-stem)
16 ;;; Let's check that the type system, and various other things, are
17 ;;; reasonably sane. (It's easy to spend a long time wandering around
18 ;;; confused trying to debug cross-compilation if it isn't.)
19 (when (find :sb-test *shebang-features*)
20 (load "tests/type.before-xc.lisp")
21 (load "tests/info.before-xc.lisp")
22 (load "tests/vm.before-xc.lisp"))
23 (load "tools-for-build/ucd.lisp")
25 ;;; Generate character database tables.
26 (sb-cold::slurp-ucd)
27 (sb-cold::output)
29 ;;; propagate structure offset and other information to the C runtime
30 ;;; support code.
31 (host-cload-stem "src/compiler/generic/genesis")
32 (sb!vm:genesis :c-header-dir-name "src/runtime/genesis")
33 #+cmu (ext:quit)
34 #+clisp (ext:quit)
35 #+abcl (ext:quit)