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

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -