5 ms·
Reading this led me to wonder if Go is available on Arm Plan 9. There's a way to cross-compile it [1], it requires a shell script to simulate git [2] (which isn
by kristianp 8y ago
Reading this led me to wonder if Go is available on Arm Plan 9. There's a way to cross-compile it [1], it requires a shell script to simulate git [2] (which isn't available on Plan 9) using http calls to github!
[1] https://github.com/golang/go/wiki/Plan9 https://github.com/golang/go/wiki/Plan9
[2] https://blog.gopheracademy.com/advent-2014/wrapping-git/ https://blog.gopheracademy.com/advent-2014/wrapping-git/
- ainar-g 8y agoIt is available. At least https://build.golang.org/ https://build.golang.org/ lists plan9/arm as one of builders. Interestingly enough, the source code build help page[1] doesn't list plan9/arm as a valid build target. EDIT: There is an open issue[2] about updating that page. [1] https://golang.org/doc/install/source https://golang.org/doc/install/source [2] https://github.com/golang/go/issues/28142 https://github.com/golang/go/issues/28142
- MisterTea 8y agoThere is a Go port but upstream changes keep breaking builds on 9 so it's been difficult. Same situation lead to Python being neglected though it's still included in 9front but stuck at version 2.5.1. Makes for a nice calculator repl though. Most of that stems from the use of the Plan 9 C library which is not ANSI but has many of the same functions. So to bridge the portability gap ANSI C/Unix/POSIX is via the APE (ANSI/POSIX Environment) library and the cpp preprocessor.