When followed this link to do cross compilation!
http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go
Failing at : % go-crosscompile-build-all
Getting Below error :
# Building C bootstrap tool. cmd/dist go tool dist: FAILED: git rev-parse --abbrev-ref HEAD ./make.bash: eval: line 135: syntax error near unexpected token `('
You say:
When followed this link to do cross compilation!
http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go
The article clearly states that it is obsolete.
An introduction to cross compilation with Go
Hello. Thanks for reading this article. Now that Go 1.1 has been released an updated version of this article is available.
Follow the instructions in the updated article.