[erlang-bugs] Mac OSX Snow Leopard - configure sets arch to be i386 when running 64bit kernel
Jared Morrow
jared@REDACTED
Thu Oct 27 18:21:23 CEST 2011
Erlang can be built for 32bit or 64bit on a 64bit OSX machine. It defaults
to 32bit as you found. Simply pass '--enable-darwin-64bit' to the
'./configure' line and that will build it for 64bit. This is similar for
all other BSD's and Solaris/OpenSolaris OS's I've tried, you must force the
64bit build.
-Jared
On Thu, Oct 27, 2011 at 10:14 AM, Ivan Ostres <iostres@REDACTED> wrote:
> Hi all!
>
> On Snow Leopard running 64bit kernel, configure set's architecture to be
> i386:
>
> [ivan]/opt/otp_src_R14B04 > uname -a
> Darwin MacBook-Pro.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7
> 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_**X86_64 x86_64
>
> [ivan]/opt/otp_src_R14B04 > ./configure
> checking build system type... i386-apple-darwin10.8.0
> checking host system type... i386-apple-darwin10.8.0
>
> This is definitely wrong. The problem might be this:
>
> [ivan]/opt/otp_src_R14B04 > uname -p
> i386
> [ivan]/opt/otp_src_R14B04 > uname -m
> x86_64
>
> Please advise,
> Ivan
> ______________________________**_________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/**listinfo/erlang-bugs<http://erlang.org/mailman/listinfo/erlang-bugs>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20111027/f130c90c/attachment.htm>
More information about the erlang-bugs
mailing list