|\ /|     scroll down for older posts.
= o.o =

Sonntag, 24. Juli 2016

Cross Compiling Golang for Windows on Linux

Michael Tiller made a thorough write-up on cross compiling Go on Linux, which is still valid as of go 1.6.3:
Building Windows executables on Linux WITH CGo [https://groups.google.com]

I had to build like this to make it work:
$ GOOS=windows GOARCH=amd64 go build hello.go

Keine Kommentare:

Kommentar veröffentlichen