Hi,

I was looking at the archives for people discussing how to get clisp to
work, and how difficult it would be to work around etc., adding relocation
to the heap files that clisp expects to map.  Looking at how clisp works
it seems like no small task.

It was surprising to me that no one had posted the easiest hack of all,
which is...  don't hate me for saying this...  Linking clisp to a brk-based
malloc.  clisp even has one in its source tree.

I'm not suggesting that ports should do this.  I'm just posting to mention
the possibility, and so that anyone else who is "desperate to run clisp"
can see that there's a fairly trivial way to do it, without modifying the
behavior of mmap as some have suggested...

I was able to get clisp working like this:

cd /usr/ports/lang/clisp
make configure
cd w-clisp-2.33.2p0/clisp-2.33.2/src/malloc
ar cq /usr/local/lib/libgmalloc.a
cd -
[ Add -lgmalloc to LIBS in w-clisp-2.33.2p0/build-i386/Makefile ]
make install

Reply via email to