Developers building with an existing SBCL as a host, which is not
installed as "sbcl" in the path, or which needs a --core option, can
now set XC_LISP and XC_CORE prior to invoking slam.sh. Previously,
such a host could only be used with slam.sh after custom
modifications to the script.
The default behaviour is unchanged.
INIT="-noinit"
CORE="-core"
;;
- sbcl) LISP="sbcl"
+ sbcl) LISP="${XC_LISP:-sbcl}"
INIT="--no-sysinit --no-userinit"
CORE="--core"
;;
exit 1
esac
-SBCL_XC_HOST="$LISP $INIT"
+SBCL_XC_HOST="$LISP ${XC_CORE:+$CORE $XC_CORE} $INIT"
export SBCL_XC_HOST
# (We don't do make-host-1.sh at all. Hopefully nothing relevant has