Nexe: Compile for windows, from linux

Created on 31 Dec 2016  路  6Comments  路  Source: nexe/nexe

Is it possible to compile a nexe binary for windows (x64) via ubuntu linux?

Most helpful comment

Hi @dlech Thanks for the question,

I'm going to reopen this because the work is still ongoing in beta
It requires multiple CI environments running builds and posting artifacts to github releases
And that work hasn't been finished yet.

It'd probably be best to track it here. Once its done the --target option will control that

All 6 comments

This isn't possible (yet). I worked on this with xbin and hope to add it to nexe soon!

fixed in #308

What is the command line argument for this? I've tried the --target option, but it seems to be ignored.

Hi @dlech Thanks for the question,

I'm going to reopen this because the work is still ongoing in beta
It requires multiple CI environments running builds and posting artifacts to github releases
And that work hasn't been finished yet.

It'd probably be best to track it here. Once its done the --target option will control that

Update!! - The target option will support any target in the latest github release

https://github.com/nexe/nexe/releases/tag/v2.0.0-rc.2

The cli will accept any part of the target as an option
eg.
From node 6.11.2 on Windows x64

  • -t mac will give the target: mac-x64-6.11.2

Still working on CI for linux/alpine(static)

This is fully supported in nexe@latest

Closing!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nroe picture nroe  路  7Comments

Monsupito picture Monsupito  路  4Comments

beppe9000 picture beppe9000  路  4Comments

frederikhors picture frederikhors  路  3Comments

ricardopolo picture ricardopolo  路  6Comments