Compress debug vectors in-place.
[sbcl.git] / load-xc.lisp
blobb17bedd891fa991e5e4f9c27321a28e37c81c9e5
1 ;;; This can be loaded into Slime, xc-compile-file will produce trace output
2 (load "src/cold/shared.lisp")
3 (in-package "SB-COLD")
4 (setf *host-obj-prefix* "obj/from-host/")
5 (pushnew :sb-xc-host *features*)
6 (pushnew :sb-xc-host-interactive *features*)
8 (load "src/cold/set-up-cold-packages.lisp")
9 (load "src/cold/defun-load-or-cload-xcompiler.lisp")
11 (load-or-cload-xcompiler #'host-load-stem) ;; if the FASLs are already compiled
13 (defun xc-compile-file (file)
14 (sb-c::init-xc-policy)
15 (sb-xc:with-compilation-unit ()
16 (sb-xc:compile-file file :trace-file *standard-output*)
17 (setf sb-c::*undefined-warnings* nil)))