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

Hi i created a node addon and uploaded it to npm. but when trying to "npm 
install --save mymodule" in another normal windows  pc it gave me an error 
that something related to the 'msbuild' (i think the tool that i use to 
build to addon) how can i make my addon work on just 'npm install' it? i 
red your reply but i don't understand. do i need to install every single 
OSes, build the addon there and copy the .node file in to one folder? 

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1cc43fa6-7df8-4cb5-9ff3-b3e2359ed1e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to