ARM平台Golang简单Demo:交叉编译
package main
import (
"fmt"
"time"
)
func main(){
for i:=0;i<100;i++{
fmt.Println("Hello ARM")
time.Sleep(time.Second)
fmt.Println(time.Now())
}
}
GOARM=7 GOARCH=arm GOOS=linux go build go_arm_cross_build.go