2 # A simple shell-script to run the freshly build SBCL without
5 # This software is part of the SBCL system. See the README file for
8 # This software is derived from the CMU CL system, which was
9 # written at Carnegie Mellon University and released into the
10 # public domain. The software is in the public domain and is
11 # provided with absolutely no warranty. See the COPYING and CREDITS
12 # files for more information.
17 BASE=`readlink -f ${BASE}`
26 echo "usage: run-sbcl.sh sbcl-options*"
28 echo "Runs SBCL from the build directory or binary tarball without need for"
29 echo "installation. Except for --help, accepts all the same command-line options"
39 if [ "$CORE_DEFINED" = "no" ]; then
40 ARGUMENTS="--core "$BASE"/output/sbcl.core"
43 if [ -x "$BASE"/src/runtime/sbcl -a -f "$BASE"/output/sbcl.core ]; then
44 echo "(running SBCL from: $BASE)"
45 SBCL_HOME="$BASE"/contrib "$BASE"/src/runtime/sbcl $ARGUMENTS "$@"
47 echo "No built SBCL here ($BASE): run 'sh make.sh' first!"