runlisp-base.conf: Etch SBCL's idea of where its `home' is.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 17 Jun 2024 10:55:46 +0000 (11:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 17 Jun 2024 12:08:32 +0000 (13:08 +0100)
commit4ca491255e1a8bbe18be092b213940e4fed00a5c
tree51cfa2b891ec9bb4ff537ecaed9d5c132093e4d3
parentc23fb2403e6f0f2ec200f317931d09e992064802
runlisp-base.conf: Etch SBCL's idea of where its `home' is.

Older SBCL versions end up believing that their `home' directory is
wherever the image was loaded from, but this is wrong for our dumped
images.

The directory is set by the C runtime code and (rather unpleasantly)
passed through the `SBCL_HOME' environment variable to Lisp, which
retrieves it via the `sb-impl::sbcl-homedir-pathname' function.

On the affected older SBCL versions, when we're dumping an image,
replace `sb-impl::sbcl-homedir-pathname' with a version which just
parrots the pre-dumped value.

Mention in `README.org' that it doesn't describe the actual SBCL
configuration any more.  (Sadness.)
README.org
runlisp-base.conf
tests.at