Fix subtypep for #-sb-xc-host.
[sbcl.git] / make-host-1.sh
blobbc060251624368a6691c651f3e9c0b20436108b4
1 #!/bin/sh
2 set -em
4 # This is a script to be run as part of make.sh. The only time you'd
5 # want to run it by itself is if you're trying to cross-compile the
6 # system or if you're doing some kind of troubleshooting.
8 # This software is part of the SBCL system. See the README file for
9 # more information.
11 # This software is derived from the CMU CL system, which was
12 # written at Carnegie Mellon University and released into the
13 # public domain. The software is in the public domain and is
14 # provided with absolutely no warranty. See the COPYING and CREDITS
15 # files for more information.
17 echo //entering make-host-1.sh
19 LANG=C
20 LC_ALL=C
21 export LANG LC_ALL
23 # Load our build configuration
24 . output/build-config
26 # Compile and load the cross-compiler. (We load it here not because we're
27 # about to use it, but because it's written under the assumption that each
28 # file will be loaded before the following file is compiled.)
30 # Also take the opportunity to compile and load genesis, to create the
31 # header files which will be needed to create the C runtime
32 # environment.
33 echo //building cross-compiler, and doing first genesis
34 echo '(load "loader.lisp") (load-sbcl-file "make-host-1.lisp")' | $SBCL_XC_HOST