英文:
Go Cross compiler fails
问题
当按照这个链接进行交叉编译时!
http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go
在执行:go-crosscompile-build-all 时失败
出现以下错误:
# 构建 C 引导工具。
cmd/dist
go tool dist: FAILED: git rev-parse --abbrev-ref HEAD
./make.bash: eval: line 135: syntax error near unexpected token `('
英文:
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 `('
答案1
得分: 2
你说:
> 当我按照这个链接进行交叉编译时!
>
> http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go
这篇文章明确说明它已经过时了。
> 用Go进行交叉编译的介绍
>
> 你好。感谢阅读这篇文章。现在Go 1.1已经发布,更新的版本
> 的文章已经可用。
请按照更新的文章中的说明进行操作。
英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论