RW> I'm attaching a set of files and patches for building sbcl under
RW> FreeBSD. Building should be as simple as
RW> - unpack sbcl-0.6.3 somewhere
RW> - in the top level of the sbcl-0.6.3 distribution, run the commands
RW> % tar xvf /path_to/sbcl-0.6.3-fbsd.tar
RW> % patch -p1 < /path_to/sbcl-0.6.3-fbsd.diff
RW> - edit target-features.lisp-expr, and be sure to enable :FreeBSD and
RW> :bsd. Enable :FreeBSD4 if running under a recent version of FreeBSD
RW> 4.0, as the layoout of struct sigcontext has changed in the last few
RW> - build it, as per the original instructions.
RW> Note: I haven't yet been able to build SBCL with SBCL, although
RW> building from CMUCL works fine.
I've just found the reason for this: the values for some of
the flags in <fcntl.h> differ between Linux and FreeBSD, so I had to
make some more changes to src/code/unix.lisp. I'm enclosing a zipped
copy of this file - a diff would collide with the diff I sent earlier.
Apply the first patch I sent, and then replace unix.lisp
with the version attached.
Raymond Wiker mailto:rwiker@...