erts configure fails on 64-bit Darwin

Tim Spriggs <>
Tue Jun 8 22:09:47 CEST 2010


I am trying to build a 64-bit version of Erlang (R13B04) on Snow
Leopard but the erts configure stage fails. The following patch fixes
the configure stage:

--- configure.in.orig   2010-06-07 13:52:09.000000000 -0700
+++ configure.in        2010-06-07 13:52:56.000000000 -0700
@@ -340,13 +340,13 @@
       case $host_os in
               darwin*)
                       case $CFLAGS in
                       *-m32*)
                               ;;
                       *)
-                               CFLAGS="-m32 $CFLAGS"
+                               # CFLAGS="-m32 $CFLAGS"
                               ;;
                       esac
                       ;;
               *)
                       if test X${enable_m32_build} = Xyes;
                       then


but I am worried that there is some reason that somebody forced 32-bit
on Darwin. Any sage advice?

TIA,
-Tim


More information about the erlang-bugs mailing list