3 ms·
> For Lisp, i get from the SBCL site or the proper site (SBCL, Clisp, Clozure CL) I am using I'll try that approach. Never really tried SBCL or Clozure CL. >
by fabriceleal 13y ago
> For Lisp, i get from the SBCL site or the proper site (SBCL, Clisp, Clozure CL) I am using
I'll try that approach. Never really tried SBCL or Clozure CL.
> And i compile the source each time
You mean that you compile, for instance, Clisp? I tried to do it once, because FFI usage is dependent of a the flag --with-dynamic-ffi being set in the ./configure step [1][2]. I don't remember exactly why, but I got some difficulties in the build process, but I managed to do it.
This may be a little out of scope, but does anybody know about a common lisp implementation that is more FFI-friendly?
[1]: http://stackoverflow.com/questions/130636/how-to-compile-clisp-2-46 http://stackoverflow.com/questions/130636/how-to-compile-cli...
[2]: http://stackoverflow.com/questions/3901698/is-there-a-way-to-get-the-clisp-compiled-with-dynamic-ffi-support-on-mac-os http://stackoverflow.com/questions/3901698/is-there-a-way-to...
- aidenn0 13y agoI heard that clang is now the default C compiler on OS X? clisp can't be built reliably with clang on x86_64 (clisp people on irc thought it was likely a bug in clang). sbcl doesn't rely on the C compiler so you should have no problems building it on mac OS. Clozure CL was originally a CL specifically for the mac, so it definitely should work fine. SBCL seems to be the most popular open-source implementation, as it can generate extremely good code, often with just minimal type annotations.
- wglb 13y agoI use sbcl--been a while since I used clisp. By each time, I mean for updates to sbcl.