We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install mingw with this script https://gist.github.com/drewwells/ee5d42dc29b70b7b61af
Now you should be able to issue this,
GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-ming32-gcc CXX=i686-w64-mingw32-g++ CGO_LDFLAGS="-static" go build -i -v -x -ldflags "-extldflags '-static' -extld=$CC"
Would be nice to have the gist script turned into a homebrew package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Install mingw with this script https://gist.github.com/drewwells/ee5d42dc29b70b7b61af
Now you should be able to issue this,
Would be nice to have the gist script turned into a homebrew package.
The text was updated successfully, but these errors were encountered: