Skip to content

Instantly share code, notes, and snippets.

View dskinner's full-sized avatar

Daniel Skinner dskinner

  • Louisiana
View GitHub Profile
@steeve
steeve / _readme.md
Last active March 7, 2024 12:38
How to cross compile Go with CGO programs for a different OS/Arch

How to cross compile Go with CGO programs for a different OS/Arch

It is possible to compile Go programs for a different OS, even though go build says otherwise.

You'll need: