X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=INSTALL;h=31377099a17aad92153542e24620bd44a05935f1;hb=41bc875c0db352fb11e52e0d104e032682f49239;hp=ec576b065a631d27c6530a8a8a1317ef17cd31b5;hpb=d84e1dbbbf11e76663cfaa0b1a5b7591f39f01b6;p=sbcl.git diff --git a/INSTALL b/INSTALL index ec576b0..3137709 100644 --- a/INSTALL +++ b/INSTALL @@ -34,7 +34,11 @@ INSTALLING SBCL $ INSTALL_ROOT=/home/me sh install.sh In other words, "install.sh" installs SBCL under the directory named - by the environment variable "INSTALL_ROOT". + by the environment variable INSTALL_ROOT. + + If INSTALL_ROOT is not specified, SBCL is installed into location + configured at build-time: for official binary distributions under + "/usr/local" directory. If you install SBCL from binary distribution in other location than "/usr/local", see section 1.2, "Finding ancillary files". @@ -114,13 +118,32 @@ INSTALLING SBCL $ sh make.sh + To configure SBCL to install to a non-standard location, you can use + the --prefix option: + + $ sh make.sh --prefix=/opt/mysbcl + + This also sets the default SBCL_HOME to prefix/lib/sbcl/ for the + built binaries. + + To configure SBCL with a non-standard default dynamic-space size, + use the --dynamic-space-size option: + + $ sh make.sh --dynamic-space-size=4Gb + $ sh make.sh --dynamic-space-size=800Mb + + If mega- or gigabytes are not specified, the number is taken to be + in megabytes. The standard default is 512Mb for 32-bit systems, and + 1Gb for 64-bit systems (with the exception of OpenBSD where 444Mb + are used to fit under default ulimits.) + If you don't already have an SBCL binary installed as "sbcl" on your system, you'll need to tell make.sh what Lisp to use as the cross-compilation host. For example, to use CMUCL (assuming has been installed under its default name "lisp") as the cross-compilation host: - $ sh make.sh 'lisp -batch -noinit' + $ sh make.sh --xc-host='lisp -batch -noinit' The build may take a long time, especially on older hardware. A successful build ends with a message beginning: "The build seems to