yum install python-setuptools
easy_install mercurial
cd /
mkdir go
hg clone -r release go
cd go/src
./all.bash
export PATH=$PATH:/go/bin
cat >hello.go <package main
import "fmt"
func main() {
fmt.Printf("hello, world\n")
}
EOF
8g hello.go
8l hello.8
./8.out
hello, world
阅读(1718) | 评论(1) | 转发(0) |