X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=INSTALL;h=b1413abc9a27a023c6151c6cc6360e8089d00761;hb=40bea2551744d3cdc05a79a923fbff79a5755845;hp=018ef589eb3217321390108e7c1956201585d059;hpb=fd79e33e6b6dacdc52cf6668a5bb7adf75aad6c1;p=sbcl.git diff --git a/INSTALL b/INSTALL index 018ef58..b1413ab 100644 --- a/INSTALL +++ b/INSTALL @@ -25,7 +25,7 @@ INSTALLING SBCL $ sh run-sbcl.sh The following command installs SBCL and related documentation under - the "/usr/local" directory: + the "/usr/local" directory (typically run as root): # INSTALL_ROOT=/usr/local sh install.sh @@ -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,30 @@ 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=1Gb + $ sh make.sh --dynamic-space-size=500Mb + + If mega- or gigabytes are not specified, the number is taken to be + in megabytes. The standard default is platform specific. + 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 @@ -159,13 +180,27 @@ INSTALLING SBCL (pushnew x features)) (disable (x) (setf features (remove x features)))) - ;; Threading support, available only on x86/x86-64 Linux, x86 Solaris - ;; and x86 Mac OS X (experimental). + ;; Threading support. (enable :sb-thread))) This is the preferred way because it lets local changes interact cleanly with CVS changes to the main, global source tree. + Some features of interest: + + :SB-THREAD + Native threads. Enabled by default on x86[-64] Linux only, also + available on x86[-64] Max OS X, x86[-64] FreeBSD, x86 Solaris, + and PPC Linux. + + :SB-UNICODE + Unicode support. Enabled by default. Disabling this feature + limits characters to the 8-bit ISO-8859-1 set. + + :SB-XREF-FOR-INTERNALS + XREF data for SBCL internals. Not enabled by default, increases + core size by 5-6mb. + A catalog of available features and their meaning can be found in "base-target-features.lisp-expr". @@ -243,7 +278,7 @@ INSTALLING SBCL Supported operating systems and architectures: x86 x86-64 PPC Sparc Alpha MIPS MIPSel - Linux 2.2, 2.4, 2.6 X X X X X X X + Linux 2.6 X X X X X X X Darwin (Mac OS X) X X X Solaris X X FreeBSD X X