R13B02, Snow Leopard, Yaws not working

View: New views
2 Messages — Rating Filter:   Alert me  

R13B02, Snow Leopard, Yaws not working

by Steve Vinoski-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list

Re: R13B02, Snow Leopard, Yaws not working

by Steve Vinoski-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Fri, Sep 25, 2009 at 11:09 AM, Steve Vinoski <vinoski@...> wrote:
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list