[Ecls-list] Building with OS X Lion

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Aug 21 21:01:48 UTC 2011

What follows is kind of a temporary fix until we find out a better solution.
Right now ECL refuses to build in OS X Lion because of two problems

- The compiler in XCode is llvm-gcc, which is not proper gcc, and it is not
capable of compiling the jump tables needed in the interpreter. Since it
disguises itself as GCC, ECL failed to deactivate this optimization.

- Our version of the Boehm-Weiser garbage collector does not work well in OS
X Lion. A newer version, unfortunately an unstable one, is needed:

Steps to build:

- Unpack the Boehm-Weiser library.
- Apply the patch attached
- Configure and install the library, say with
  ./configure --prefix=/location/for/library
- Configure and install ECL with the options
and whatever other you usually add.

I am unsure about upgrading the library in ECL's source tree, but the GC
developers are known to delay stable releases until everybody is already
relying on the alpha versions, just like us :-)


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110821/7bee4ae8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc-patch-os-x-lion.diff
Type: application/octet-stream
Size: 701 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110821/7bee4ae8/attachment.obj>

More information about the ecl-devel mailing list