Signal floating-point-overflow from bignum-to-float.
[sbcl.git] / load-xc.lisp
blob4a44dab15911a81dd691a3fca7295e55dca2aaf1
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-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)))