Created
April 4, 2021 16:34
-
-
Save filinvadim/642504c92e36ca128d51b9565d178421 to your computer and use it in GitHub Desktop.
Crosscompiling for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Crosscompiling for Windows | |
GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build -o button_windows.exe cmd/delcom/panicbutton/main.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment