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:
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2alpha6.tar.gz

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
   --enable-boehm=system
   CPPFLAGS=-I/location/for/library/include
   LDFLAGS=-L/location/for/library/lib"
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 :-)

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com

Attachment: gc-patch-os-x-lion.diff
Description: Binary data

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to