From dced8bb7924c01444b8738816928d792cc64f2e1 Mon Sep 17 00:00:00 2001 From: acevest Date: Wed, 24 Dec 2014 09:26:45 +0800 Subject: [PATCH] ... --- learn/go/hello/build.sh | 3 --- learn/go/hello/hello.go | 2 +- learn/go/install.txt | 13 +++++++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) delete mode 100755 learn/go/hello/build.sh 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 + -- 2.44.0