如何在 PowerPC 上使用 Go
有没有办法让 Google Go 生成 Linux/PowerPC 可执行文件?
更新:我想这个公告有一点帮助。
Is there a way to get Google Go to generate Linux/PowerPC executables?
Update: I guess this announcement helps a bit.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
从 Go 版本 1.5 开始支持 ppc64 和 ppc64le。
Since Go version 1.5 ppc64 and ppc64le are supported.
提供的 Go 编译器不针对 Linux/ppc,但 GCC 前端 gccgo 可能可以。
The Go compilers provided do not target Linux/ppc, but the GCC frontend, gccgo, may be able to.
您还可以使用 Debian 和 Ubuntu 上可用的
golang
名称找到 go 编译器包。➜ aptcache madison golang
golang | 2:1.6.1+1ubuntu2 | http://www.las.ic.unicamp.br/pub/ubuntu-ports yakkety/main ppc64el 软件包
golang-默认值 | 2:1.6.1+1ubuntu2 | http://www.las.ic.unicamp.br/pub/ubuntu-ports yakkety/main 来源
You can also find the go compiler package using the
golang
name available both on Debian and Ubuntu.➜ apt cache madison golang
golang | 2:1.6.1+1ubuntu2 | http://www.las.ic.unicamp.br/pub/ubuntu-ports yakkety/main ppc64el Packages
golang-defaults | 2:1.6.1+1ubuntu2 | http://www.las.ic.unicamp.br/pub/ubuntu-ports yakkety/main Sources