
.zshrcとか.bashrcに書くよexport GOROOT=$HOME/go
export GOARCH=386
export GOOS=linux
source .zshrc
sudo apt-get install mercurial
hg clone -r release https://go.googlecode.com/hg/ $GOROOT
sudo apt-get install bison gcc libc6-dev ed make
cd $GOROOT/src
./all.bash
~/binにインストールされるよ
何が良いのかわかんないけど,取りあえず入れてみたよ
0 件のコメント:
コメントを投稿