Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  R13B02, Snow Leopard, Yaws not working

Guest
Posted: Fri Sep 25, 2009 3:09 pm Reply with quote
Guest
Hi all, just to save others the trouble, I'm noting here that on OS X Snow Leopard, the default build of the new Erlang R13B02 or R13B02-1 releases produce 32-bit binaries (which is a good thing), but by default gcc produces 64-bit binaries. What this means is that the default Yaws build on Snow Leopard won't work with R13B02 because its linked-in drivers by default are built as 64-bit binaries that won't load under the 32-bit Erlang. This will be fixed soon.

--steve

Post received from mailinglist
Guest
Posted: Sun Sep 27, 2009 6:51 pm Reply with quote
Guest
On Fri, Sep 25, 2009 at 11:09 AM, Steve Vinoski <vinoski@ieee.org (vinoski@ieee.org)> wrote:
Quote:
Hi all, just to save others the trouble, I'm noting here that on OS X Snow Leopard, the default build of the new Erlang R13B02 or R13B02-1 releases produce 32-bit binaries (which is a good thing), but by default gcc produces 64-bit binaries. What this means is that the default Yaws build on Snow Leopard won't work with R13B02 because its linked-in drivers by default are built as 64-bit binaries that won't load under the 32-bit Erlang. This will be fixed soon.


This is now fixed in github. On Snow Leopard the configure script runs erl to determine how it was built -- 32-bit or 64-bit -- and then applies the appropriate flags for gcc for building the yaws drivers.


--steve


Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum