Subject: Re: [nodejs] Support for multiple ARCHs on Mac OS X (fat binaries)
On Tue, Feb 21, 2012 at 21:08, Stephen Bannasch
<stephen.bannasch@xxxxxxxxxxxxx> wrote:
> At 11:22 AM -0800 2/21/12, Nathan Rajlich wrote:
>>I just bumped gyp the other day to account for the "zero or one ARCHs"
>>revision, so now you can actually build a 64-bit binary for OS X, though
>>still not a fat binary.
>>
>>I believe one workaround would be to compile the two archs separately (using
>>the --dest-cpu configure option) and the combine them after the fact with the
>>`lipo` command. This is probably a longer compilation process overall but I
>>*think* it would work.
>
> I think in general installing a fat binary version of node doesn't make much
> sense -- but distributing a package installer thatselectively installs either
> a 32-bit or 64-bit version of nodejs (depending on the system arch) would be
> useful.
>
> I know that being able to run Java in 32-bit mode on a 64-bit system is
> useful if I need to use native libraries that are only available as 32-bit
> products. I don't know if this is important for node users.

We (node) would prefer a binary that people can copy around and Just
Works. It doesn't necessarily have to be fixed in gyp, we can tweak
our build system to do a double build + lipo stitch-up.

--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
nodejs+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

(C)2011 mailinglist-archive.com