The patch at
(link good for limited time only) is my current cut at customizing the
intended install-location of SBCL.
It is fundamentally the same as the previous one, except that now that
we have a preliminary installer-builder for Windows it doesn't even
try to install to $PROGRAMFILES.
What it does: the _second_ argument to make.sh (defaulting to
/usr/local) becomes the INSTALL_ROOT, and the default SBCL_HOME
provided by the runtime becomes the INSTALL_ROOT/lib/sbcl/.
Why this is good:
sh make.sh "sbcl --no-userinit --no-sysinit" /opt/sbcl/version-xyz
and the subsequent install.sh does the right thing, and the sbcl is
then startable as /opt/sbcl/version-xyz/bin/sbcl.
Objections to merging this (+ the relevant bits of INSTALL I didn't
(I don't claim this as complete solution: the name of the executable
and core should probably be customizable too, but in case of SBCL I
feel that SBCL_HOME and default install location are more important.)
* As I'm not sure of the intended purpose of the BUILD_ROOT stuff in
install.sh, I'm not sure I didn't break it.
* I changed all the Confix.arch-os files to use
CFLAGS += ...
CFLAGS = ...
and while I think I got all the fiddly bits right, I have no way to
test all the platforms.
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."