1 ;;; This can be loaded into Slime, xc-compile-file will produce trace output
2 (load "src/cold/shared.lisp")
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-cload-stem
)
12 ;; (load-or-cload-xcompiler #'host-load-stem) ;; if the FASLs are already compiled
14 (defun xc-compile-file (file)
15 (sb!xc
:with-compilation-unit
()
16 (sb!xc
:compile-file file
:trace-file
*standard-output
*)
17 (setf sb
!c
::*undefined-warnings
* nil
)))