Building and compiling Go code to Windows on a Linux machine

 GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc go build ./

Comments

Popular posts from this blog

Accessing Windows Share (Samba) From Linux (XFCE) using Thunar

My Zed editor config setting json file

Bypassing the error by "go get" "tls: failed to verify certificate: x509: certificate signed by unknown authority"