. etc/functions.sh
if [ ! -e lib/runtime.com ]; then
- FASL=`get_fasl_file`
+ get_fasl_file
run_cmd_in_dir runtime \
../microcode/scheme --batch-mode --library ../lib --fasl $FASL <<EOF
(disk-save "../lib/runtime.com")
. etc/functions.sh
-FASL=`get_fasl_file`
-
+get_fasl_file
run_cmd_in_dir runtime ../microcode/scheme --library ../lib \
--fasl "${FASL}" --heap 6000 --batch-mode <<EOF
(begin
(for-each compile-dir '("runtime" "star-parser" "sf")))
EOF
-FASL=`get_fasl_file`
+get_fasl_file
run_cmd_in_dir runtime "${EXE}" --batch-mode --library ../lib --fasl $FASL <<EOF
(disk-save "../lib/x-runtime.com")
EOF
run_cmd_in_dir star-parser "${@}" --batch-mode --load compile.scm </dev/null
echo "# `date`: Dump new runtime into x-runtime.com."
-FASL=`get_fasl_file`
+get_fasl_file
run_cmd_in_dir runtime \
"${@}" --batch-mode --library ../lib --fasl $FASL <<EOF
(disk-save "../lib/x-runtime.com")
(for-each compile-dir '("runtime" "star-parser" "sf")))
EOF
-FASL=`get_fasl_file`
+get_fasl_file
run_cmd_in_dir runtime ../microcode/scheme --batch-mode \
--library ../lib --fasl $FASL <<EOF
(disk-save "../lib/runtime.com")
get_fasl_file ()
{
if [ -f runtime/make.o ]; then
- echo "http://www.gnu.org/software/mit-scheme/lib/runtime/make.so"
+ FASL=http://www.gnu.org/software/mit-scheme/lib/runtime/make.so
return 0
elif [ -f runtime/make.com ]; then
- echo "make.com"
+ FASL=make.com
return 0
else
echo "Can't find argument for --fasl." >&2