[Ecls-list] ECL and Snow Leopard (10.6)

Kamil Shakirov kamils80 at gmail.com
Mon Sep 7 17:37:55 UTC 2009

Hi Juan,

In both cases if ABI is defined as 32 or 64 ECL successfully builds as  
64bit binary in Snow Leopard. Without explicitly defined ABI ECL fails  
to start ecl_min. I also had to patch src/configure when ABI=32 is  
defined after getting the following error:

configure: Configuring included GMP library:
checking build system type... none-apple-darwin10.0.0
checking host system type... none-apple-darwin10.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of  
Makefiles... no
configure: error: ABI=mode32 is not among the following valid choices:  
long longlong
checking GMP autoconf... "yes.no.yes"
checking Using the GMP library to guess good compiler/linker flags...  
configure: error: Cannot find GMP's configuration file. Aborting

diff --git a/src/configure b/src/configure
index 388bb6a..7ce45a9 100755
--- a/src/configure
+++ b/src/configure
@@ -4484,10 +4484,10 @@ case "${host_os}" in
                       CFLAGS="-m64 $CFLAGS"
                       LDFLAGS="-m64 $LDFLAGS"
-                  # Needed when building the old version of GMP.
-                  # Should be removed when moving to MPIR
-                  ABI="long"
+                # Needed when building the old version of GMP.
+                # Should be removed when moving to MPIR
+               ABI="long"
                  # The Boehm-Weiser GC library shipped with Fink does  
not work
                  # well with our signal handler.

Should ECL include architecture feature symbol like :x86_64 when built  
with 64bit support? Now the *features* list still includes :i686:

API :FFI :I686

On Sep 7, 2009, at 3:10 AM, Juan Jose Garcia-Ripoll wrote:

> On Sun, Sep 6, 2009 at 9:02 PM, Kamil Shakirov<kamils80 at gmail.com>  
> wrote:
>> After replacing GC with the latest version gc-7.2lapha2 + ucontext  
>> patch and
>> recompiling from the fresh checkout ecl_min still fails to start  
>> failing at
>> the same location.
> Thanks for trying. In a week or so I come back home and will get a
> copy of Snow Leopard to try. As a side note, some errors were also
> reported when building 64-bits versions of ECL in OS X -- indeed I did
> not know this was possible, even  on my tiny MacBook laptop --, maybe
> that is related.


More information about the ecl-devel mailing list