> 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
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 han
>
> 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!
>
>
> I recommend setting up and using a local Linux virtual machine if you
> do not have access to a Linux system elsewhere.
>
> 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
On Oct 29, 11:47 pm, NodeNinja wrote:
> Since I am doing this on a Windows system What cross compiler would you
> recommend to target Unix/Linux, gcc or MinGW?
I recommend setting up and using a local Linux virtual machine if you
do not have access to a Linux system elsewhere.
You might be able
> No. You need to run the node-gyp configure/build cycle once for each
> platform that you target. Here is how you approximately would script
> that on a UNIX system:
>
> That was great news Ben,
Since I am doing this on a Windows system What cross compiler would you
recommend to target
On Mon, Oct 29, 2012 at 4:30 AM, NodeNinja wrote:
>
> On Sunday, October 28, 2012 11:07:48 PM UTC+5:30, mscdex wrote:
>>
>> On Oct 28, 1:15 pm, NodeNinja wrote:
>> > and was wondering if there was anyway to target multiple platforms?
>>
>> Sure, you can target multiple platforms in your binding.g
On Sunday, October 28, 2012 11:07:48 PM UTC+5:30, mscdex wrote:
>
> On Oct 28, 1:15 pm, NodeNinja wrote:
> > and was wondering if there was anyway to target multiple platforms?
>
> Sure, you can target multiple platforms in your binding.gyp easily
> using conditionals like that. However I tho
On Oct 28, 1:15 pm, NodeNinja wrote:
> and was wondering if there was anyway to target multiple platforms?
Sure, you can target multiple platforms in your binding.gyp easily
using conditionals like that. However I thought you were originally
asking how to compile a Linux executable on Windows.
-
>
>
> It's probably going to be easier to just create a linux VM for
> compiling/testing purposes.
>
I had seen a few binding.gyp scripts with lines like these
'conditions': [
['OS=="linux"',
['OS=="mac"',
['OS=="win"',
]
and was wondering if there was anyway to target multiple platform
On Oct 28, 9:31 am, NodeNinja wrote:
> I successfully built a node add-on on windows using Visual Studio.
> Now I want to build the same add-on on windows but targeting Linux.
It's probably going to be easier to just create a linux VM for
compiling/testing purposes.
--
Job Board: http://jobs.no
11 matches
Mail list logo