This post originated from an RSS feed registered with Python Buzz
by Ng Pheng Siong.
Original Post: Building CMUCL
Feed Title: (render-blog Ng Pheng Siong)
Feed URL: http://sandbox.rulemaker.net/ngps/rdf10_xml
Feed Description: Just another this here thing blog.
With CMUCL 19a, building from source isn't that difficult, provided
everything builds nicely which should be the case if one is using a
supported platform.
The instructions are in the file BUILDING. To wit:
» Unpack the source into a directory called src. (First encounter with CMUCL's famous compilation bootstrapping problem: reading BUILDING without unpacking the source tree.)
» In the parent directory of src, create a target build
directory:
» Edit freebsd4/setenv.lisp to add some features. My CMUCL 19a
binary installation has :ELF, :FREEBSD and :FREEBSD4 so I add those in.
» Recompile the Lisp world:
$ src/tools/build-world.sh freebsd4 lisp
» The first time this is done, build-world.sh writes, "The C
header file has changed. Be sure to re-compile the startup code." Here the
"startup code" refers to the C code that compiles to the lisp
binary. How it builds is driven by the file freebsd4/lisp/Config,
which is sym-linked to src/lisp/Config.FreeBSD_gencgc by
create-target.sh above.
In this case, my purpose in rebuilding the thing is to link lisp to
libc_r.so. Make one change to freebsd4/lisp/Config: