Eduardo Cavazos
2009-08-21 10:22:37 UTC
Hello,
Here's a bash script which will build Larceny.
It's configured for building on Intel Linux.
Remember, you need a built version of Larceny to build Larceny. On my
system, I have a binary distribution of Larceny installed at:
/src/larceny-0.97b1-bin-native-ia32-linux86
You'll need to tweak that path in the script.
Ed
#!/bin/sh
/src/larceny-0.97b1-bin-native-ia32-linux86/larceny <<BUILD
(load "setup.sch")
(setup 'scheme: 'larceny
'host: 'linux86
'sassy
'string-rep: 'flat4)
(build-config-files)
(load-compiler)
(build-heap)
(build-runtime)
(build-executable)
(build-larceny-files)
(build-twobit)
(exit)
BUILD
echo '(exit)' | \
"./larceny.bin" -stopcopy -- src/Build/iasn-larceny-heap.fasl
echo '(exit)' | \
"./larceny.bin" -stopcopy -- src/Build/iasn-twobit-heap.fasl
cp larceny twobit
./larceny <<EOF
(require 'r6rsmode)
(larceny:compile-r6rs-runtime)
(exit)
EOF
Here's a bash script which will build Larceny.
It's configured for building on Intel Linux.
Remember, you need a built version of Larceny to build Larceny. On my
system, I have a binary distribution of Larceny installed at:
/src/larceny-0.97b1-bin-native-ia32-linux86
You'll need to tweak that path in the script.
Ed
#!/bin/sh
/src/larceny-0.97b1-bin-native-ia32-linux86/larceny <<BUILD
(load "setup.sch")
(setup 'scheme: 'larceny
'host: 'linux86
'sassy
'string-rep: 'flat4)
(build-config-files)
(load-compiler)
(build-heap)
(build-runtime)
(build-executable)
(build-larceny-files)
(build-twobit)
(exit)
BUILD
echo '(exit)' | \
"./larceny.bin" -stopcopy -- src/Build/iasn-larceny-heap.fasl
echo '(exit)' | \
"./larceny.bin" -stopcopy -- src/Build/iasn-twobit-heap.fasl
cp larceny twobit
./larceny <<EOF
(require 'r6rsmode)
(larceny:compile-r6rs-runtime)
(exit)
EOF