Skip to content

Compile for Windows from Linux #2632

Answered by misitebao
airtonix asked this question in Q&A
Discussion options

You must be logged in to vote

The Windows platform is implemented using pure Go, which means you can cross-compile to Windows from other platforms, but Mac and Linux use cgo, which cannot be used as a target platform for cross-compilation.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@airtonix
Comment options

Answer selected by airtonix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants