Page History

Go

Mark George edited this page on 3 Jun 2021

Clone this wiki locally

Cross compiling

Linux 64 bit

GOOS=linux GOARCH=amd64 go build -o ../application-linux64

Windows 64 bit

GOOS=windows GOARCH=amd64 go build -o ../application-win64

Mac Intel 64 bit

GOOS=darwin GOARCH=amd64 go build -o ../application-mac-intel64

Mac M1 / ARM 64 bit

GOOS=darwin GOARCH=arm64 go build -o ../application-mac-arm64