go - Building for ARM? -


whenever try , use 'go install' after settings goarch, goos , gobin 'cannot install cross-compiled binaries when gobin set', don't understand why?

what's simplest way build arm linux?

you can use go build command instead:

env goos=android goarch=arm64 go build -o /arm64bins/app 

available goos/goarch's in go 1.7:

➜ go tool dist list | grep arm                                                                                   05/29/16 android/arm android/arm64 darwin/arm darwin/arm64 freebsd/arm linux/arm linux/arm64 nacl/arm netbsd/arm openbsd/arm plan9/arm 

Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -