is it possible to cross-compile that from a mac or window machine and get this rpi working binary ready to ship via Gokrazy? So far cross-compiling has failed for me. Too many x11 deps and weird stuff that makes it so much easier to just run go build on the rpi itself.
Cross-compiling something for gokrazy will likely be a can of worms if it has a lot of C dependencies, which tend to be dynamically linked by default. There's no dynamic library loader on gokrazy, so you either need to add one yourself or get all those C deps (and their deps) to be statically compiled into your Go binary. Neither is a picnic, although maybe someone else has already done the work of figuring out how to set up a dynamic loader.
https://developer.fyne.io/started/cross-compiling
is it possible to cross-compile that from a mac or window machine and get this rpi working binary ready to ship via Gokrazy? So far cross-compiling has failed for me. Too many x11 deps and weird stuff that makes it so much easier to just run go build on the rpi itself.