Skip to content

Instantly share code, notes, and snippets.

@games647
Last active August 26, 2016 11:51
Show Gist options
  • Save games647/d56114078f9f65c2b3e2efede627db67 to your computer and use it in GitHub Desktop.
Save games647/d56114078f9f65c2b3e2efede627db67 to your computer and use it in GitHub Desktop.
Cross compile command syntax
GOOS=windows GOARCH=386 go build -o hello.exe hello.go
#Supported architecture: https://golang.org/doc/install/source#environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment