I guess the way to go for module writers to support multiplatform build is https://github.com/TooTallNate/node-gyp
by @TooTallNate I didn't try it, but notably, it relies on Visual C++, it not uses (AFAIK) http://www.mingw.org/ Why not mingw support for native module compilation at client side? Any post, tutorial of manual compilation of a native node module using mingw? On Tue, Jun 5, 2012 at 12:31 PM, José F. Romaniello <[email protected]>wrote: > i think is not yet *that* ready... and the bast majority of native modules > in npm doesn't compile in windows. I think now what most of package authors > do for windows is to publish a version of the package with the already > built dll (the .node extension) inside. (not sure to be honest) > > I wrote a tutorial about how to write a native package for windows in > windows (using c++/cli): > > http://joseoncode.com/2012/04/10/writing-your-first-native-module-for-node-dot-js-on-windows/ > > and I also has published the package in npm > http://jfromaniello.github.com/windowseventlogjs/ > > the package already contains the ".node" file inside, so it doesnt compile > when you install thru npm.. It works but it is not so multi-platform . > > > 2012/6/5 Thomas White <[email protected]> > >> José, >> * >> * >> Thank you for your answer. The problem is that some of the modules what >> expressling uses require bcrypt. It seams it will be more complicated >> than I thought. >> >> Apart from this particular case, is it possible to compile C++ node >> modules on WIn 7 platform? >> >> Thomas >> >> -- >> 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 > -- 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
