Created
October 7, 2013 07:57
-
-
Save oker1/6864060 to your computer and use it in GitHub Desktop.
go crosscompile linux/amd64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg clone -u release https://code.google.com/p/go | |
cd go/src | |
./all.bash | |
export GOROOT=$HOME/go | |
export PATH=$GOROOT/bin:$PATH | |
cd $GOROOT/src | |
GOOS=linux GOARCH=amd64 ./make.bash --no-clean 2>&1 | |
GOOS=linux GOARCH=amd64 go ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment