Skip to content

Instantly share code, notes, and snippets.

David Vorick DavidVorick

Block or report user

Report or block DavidVorick

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@steeve
steeve / _readme.md
Last active Nov 7, 2019
How to cross compile Go with CGO programs for a different OS/Arch
View _readme.md

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:

View gitguide.md

how to into git (and GitHub)

This is a handy reference for setting up and using git to contribute to projects on GitHub. It is by no means a complete guide to using git; use http://gitref.org for that.

Update: This site provides some excellent visualizations of what various git commands do. Highly recommended.

basics

setup

First run the following commands, using your real name and GitHub email address:

You can’t perform that action at this time.