@iska@mstdn.starnix.network Nah, not that easy. You can build the complete go toolchain if you have a working c compiler and gcc source (unlike e.g. ada): the go tool, the compiler and the standard library. The lib has low-level stuff that is platform-specific, you can manage building that for 32-bit PPC glibc-based systems (I did), good luck with musl-based though.
And even if you do, you can't build a lot of go-programs with just "go build"…
@james

Follow

@iska@mstdn.starnix.network …a lot of stuff under golang.org/x/ won't build as the platform is not officially supported.
With rust it's not easy either — I think you have to have a bootstrap compiler, I don't think you can build it if you only have c compiler — you have to cross-compile. But once you have it, it's pretty straightforward.
If you want to go deeper, remind me in a couple of days, I'm enjoying my beer ATM 🥴
@james

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml