node.js - Cross compile nodejs modules to Windows with node-gyp -
due compiler problems on windows 7 x64 machine, have compile code on linux arm box. how can cross compile node modules node gyp? in advance.
there 2 problems here. first, have cross-compiling set go arm box windows.
this should help: http://wiki.wxwidgets.org/cross-compiling_under_linux
then (assuming compilers , linker set up: cxx, etc.), need specify architecture when running node-gyp:
node-gyp --arch x64 rebuild
that should it.
Comments
Post a Comment