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."
From: Marco Monteiro <masm@ac...> - 2006-06-19 10:43:25
Nikodemus Siivola wrote:
> 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/.
Instead of a second argument, making it an optional argument would be
better. Something like
sh make.sh --destdir /some/place
From: Cyrus Harmon <ch-sbcl@bo...> - 2006-06-19 16:55:19
Since we're not using --enable-my-custom-feature args to make.sh
(i.e. no --enable-sb-after-xc-core), should we continue the approach
of customize-target-features.lisp and add something like customize-
install-root.lisp or install-root.lisp-expr that would contain a
lisp expression with the INSTALL_ROOT/SBCL_HOME location?
Just a (probably obvious and irrelevant) thought,
On Jun 19, 2006, at 3:43 AM, Marco Monteiro wrote:
> Nikodemus Siivola wrote:
>> 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/.
> Instead of a second argument, making it an optional argument would be
> better. Something like
> sh make.sh --destdir /some/place
> Sbcl-devel mailing list