[go-nuts] Re: Using Go in picore (tinycore)

2023-12-06 Thread 王富民awaw
Good point, perhaps cross compiling with GOOS=linux and GOARCH=arm would be the easiest path. Can anyone share their experiences with regard to actually doing this on tinycore, and it indeed works? On Wednesday 6 December 2023 at 16:21:34 UTC+8 Brian Candler wrote: > You should note that you

[go-nuts] Re: Using Go in picore (tinycore)

2023-12-06 Thread 'Brian Candler' via golang-nuts
You should note that you don't necessarily need to install the go compiler on your target machine. You can build ARM binaries on an x86_64 machine for example - set the parameters GOOS and GOARCH. Go is especially good for this sort of cross-compilation, as it doesn't require any special