3 # a quick and dirty way of partially rebuilding the system after a
6 # This script is not a reliable way to build the system, but it is
7 # fast.:-| It can be useful if you are trying to debug a low-level
8 # problem, e.g. a problem in src/runtime/*.c or in src/code/unix.lisp,
9 # and you find yourself wanting to make a small change and test it
10 # without going through the entire build-the-system-from-scratch
13 # You probably don't want to be using this script unless you
14 # understand the system build process to be able to guess when it
18 # This software is part of the SBCL system. See the README file for
21 # This software is derived from the CMU CL system, which was
22 # written at Carnegie Mellon University and released into the
23 # public domain. The software is in the public domain and is
24 # provided with absolutely no warranty. See the COPYING and CREDITS
25 # files for more information.
28 export SBCL_XC_HOST="${1:-sbcl --noprogrammer}"
30 # (We don't do make-host-1.sh at all. Hopefully nothing relevant has
33 sh make-target-1.sh || exit 1
35 # Instead of doing the full make-host-2.sh, we (1) use after-xc.core
36 # to rebuild only the specifically-requested Lisp files (or skip
37 # after-xc.core completely if no Lisp files are specifically
38 # requested), then (2) run GENESIS.
40 # Our command line arguments are the stems that we'll use
41 # after-xc.core to recompile. If there are no command line arguments,
42 # though, make a point of not calling after-xc.core, since it might
43 # not exist, and there's no point in causing a fatal failure (by
44 # unsuccessfully trying to execute it) unnecessarily.
45 if [ "$*" != "" ] ; then
46 # Actually, I wrote this script when I needed to do a lot of
47 # tweaking in src/runtime/*.c, and I haven't tried to make it
48 # work for src/code/*.c yet. -- WHN 2001-05-12
49 echo stub: no support yet for after-xc.core
52 sh make-genesis-2.sh || exit 1
54 sh make-target-2.sh || exit 1
56 echo /ordinary termination of slam.sh