It was a change made to the .pkg installer for the 0.6.11 release, if you compile manually you'll still get a 64-bit node. It doesn't have anything to do with Windows; the purpose was that the .pkg installer was blindly installing the 64-bit node even on 32-bit OS X machines. This problem will be solved for the 0.6.12 release though, since it will come with a fat binary with both 32-bit and 64-bit versions of node.
I personally wouldn't bother hacking the wscript file to support this, but rather migrate the over to the gyp build system and use node-gyp to compile. waf is deprecated and will be removed most likely for the v0.8.0 release. On Wed, Feb 29, 2012 at 2:50 PM, SteveCronin <[email protected]>wrote: > Folks; > > Node 0.6.9 > #define NODE_CFLAGS "-rdynamic -pthread -arch x86_64 -g -O3 - > DHAVE_OPENSSL=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - > DHAVE_FDATASYNC=0 -DARCH=\"x64\" -DPLATFORM=\"darwin\" -D__POSIX__=1 - > Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/usr/local/include/node" > > Node 0.6.11 > #define NODE_CFLAGS "-rdynamic -pthread -arch i386 -m32 -g -O3 - > DHAVE_OPENSSL=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - > DHAVE_FDATASYNC=0 -DARCH=\"ia32\" -DPLATFORM=\"darwin\" -D__POSIX__=1 - > Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/usr/local/include/node" > > When I try and consume 0.6.11 in a build environment it is breaking > dependancies (unable to load shared libraries) > > First - my assumption is that this change was made to obtain larger > coverage in the Windows marketplace. Is this true? If not, can > someone clarify the purpose? > > Second - can anyone speak to adjustments that might have to be made to > waf scripts that build node modules because of this change? > > Thanks, > Steve > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
