From: acevest Date: Wed, 24 Dec 2014 01:26:45 +0000 (+0800) Subject: ... X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=dced8bb7924c01444b8738816928d792cc64f2e1;p=acecode.git ... --- diff --git a/learn/go/hello/build.sh b/learn/go/hello/build.sh deleted file mode 100755 index b18a64a..0000000 --- a/learn/go/hello/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -8g hello.go -8l hello.8 - diff --git a/learn/go/hello/hello.go b/learn/go/hello/hello.go index c2fbf9c..a36de8e 100644 --- a/learn/go/hello/hello.go +++ b/learn/go/hello/hello.go @@ -3,5 +3,5 @@ package main import "fmt" func main() { - fmt.Printf("hello, world\n") + fmt.Printf("hello world\n") } diff --git a/learn/go/install.txt b/learn/go/install.txt index 6600130..df2bde7 100644 --- a/learn/go/install.txt +++ b/learn/go/install.txt @@ -14,3 +14,16 @@ cd $GOROOT/src sudo ./all.bash + + + +======================================== +INSTALL ON RASPBERRY PI +======================================== +sudo apt-get install -y mercurial gcc libc6-dev +export GOROOT=/home/pi/go +export GOARCH=arm +export GOARM="5" +cd /home/pi/go/src +./all.bash +