Skip to content

Instantly share code, notes, and snippets.

@rocc0
Created November 1, 2018 13:20
Show Gist options
  • Save rocc0/69a26040b2651abec6d18af194e2dce7 to your computer and use it in GitHub Desktop.
Save rocc0/69a26040b2651abec6d18af194e2dce7 to your computer and use it in GitHub Desktop.
1) Install packages ```sudo apt-get install gcc-multilib g++-multilib```
2) run ```GOOS=linux GOARCH=386 CGO_ENABLED=1 go build .```
3) Done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment