标签:
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # yum install golang # vi /etc/profile export GOPATH=/home/你的GOPATH(工作目录) export PATH=$PATH:$GOPATH/bin # source /etc/profile # go env GOARCH="386" GOBIN="" GOEXE="" GOHOSTARCH="386" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/你的GOPATH(工作目录)" GORACE="" GOROOT="/usr/lib/golang" GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_386" GO15VENDOREXPERIMENT="" CC="gcc" GOGCCFLAGS="-fPIC -m32 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1"
标签:
原文地址:http://my.oschina.net/u/1441440/blog/519974