>
> You might be able to get away with using a cross-compiler under 
>> cygwin, but just mentioning that makes me cringe. 
>>
>
> Your advice is sound mscdex... 
> I couldn't find much info on the net for cross compiling on windows 
> possibly install linux on a vm is a good way to start! 
>  
>
 Yeah...that is theoretically possible, but good luck getting libc to 
match, let alone your other bindings, architectures, etc.

NodeNinja:

Note that having a module that will hapilly 'npm install' on all three OSes 
does NOT require pre-building them. The Gyp scripting you saw does exactly 
that: it detects which OS it's building on and follows different 
instructions for each. Testing all three, on the other hand...I second 
mscdex' vote for using a virtual machine to test in a native environment. :)

If you're looking at an embedded system, you *might* want to cross-compile 
the module down to a binary on a different machine, at which point you have 
stepped into a different arena from simply building something that will 
compile and run successfully across platforms. (I'd stick it out for native 
compilation; YMMV.)

Good luck!
--Jon

-- 
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

Reply via email to