Skip to content

Instantly share code, notes, and snippets.

@zfarbp
Created October 24, 2019 01:59
Show Gist options
  • Save zfarbp/c34ef6a29c74837dd7ec4da11194e18e to your computer and use it in GitHub Desktop.
Save zfarbp/c34ef6a29c74837dd7ec4da11194e18e to your computer and use it in GitHub Desktop.
Cross compiling Golang applications for Raspberry Pi
env GOOS=linux GOARCH=arm GOARM=5 go build <file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment