Can I run go on a Raspberry Pi 3 running FreeBSD?

agolangf · · 461 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Edit. Looks like [not] - FreeBSD runs only in aarch64 mode on the Raspberry Pi and Go <a href="https://golang.org/doc/install/source">doesn&#39;t support FreeBSD/aarch64</a>.</p> <hr/>**评论:**<br/><br/>jackmott2: <pre><p>I do not know but I know you can run Go on a Raspberry Pi running Linux, if that is useful info.</p></pre>allowthere: <pre><p>But Raspbian runs a 32bit kernel (with 32bit apps) while FreeBSD is aarch64.</p> <p>Yes. It seem that while Go supports arm64+Linux and arm32+FreeBSD, it doesn&#39;t support arm64+FreeBSD.</p></pre>jackmott2: <pre><p>the person I know who has used Go on a Rpi with linux was using Devuan Linux, which appears to be/offer 64bit </p></pre>allowthere: <pre><p>True, it works on Linux both on 32 and 64 bit, but not on FreeBSD</p></pre>PaluMacil: <pre><p>I believe the Raspberry Pi 3 can support a 64-bit system just fine though.</p></pre>allowthere: <pre><p>It can, but Go doesn&#39;t support that combination (freebsd+arm64) unfortunately. </p></pre>PaluMacil: <pre><p>Ohhh, I just looked back at the chart. I forgot that the full range of architectures is really only supported for Linux. Do you know if gccgo would have much chance in succeeding with that combo of bad and arm64?</p></pre>stringflow: <pre><p>you can try this: <a href="http://www.raspbsd.org/raspberrypi.html" rel="nofollow">http://www.raspbsd.org/raspberrypi.html</a>.</p></pre>allowthere: <pre><p>I can get it from the <a href="https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.0/" rel="nofollow">official website</a> too, but they&#39;re all 64bit which go doesn&#39;t support (arm64/freebsd)</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

461 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传