Compiling SBCL with Threads and Unicode
Posted on Jul 17th 2008
Permalink.
0 Comments.
This is one of those note-to-self posts. For whatever reason, I nearly always forget to enable threads and unicode when I build SBCL. Threads are required by hunchentoot; I enable Unicode just for kicks.
Here's my build recipe for SBCL:
- > git clone git://sbcl.boinkor.net/sbcl.git sbcl-git ./sbcl.git
- > cd sbcl.git
- > git checkout sbcl_1_0_18
- Edit customize-target-features.lisp to enable the features you want.
(lambda (features) (flet ((enable (x) (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). (enable :sb-thread) (enable :sb-unicode))) - > screen
- > sh make.sh
- detach screen from terminal while compiling -- too much output! Ctrl-a, d
- > sudo INSTALL_ROOT=/opt/sbcl sh install.sh