upvote
Maybe there are issues I'm not aware of but using dockcross has made cross-compilation quite easy in my experience.

https://github.com/dockcross/dockcross

reply
T2 manages to do it

https://t2linux.com/

reply
Depends on the language, it's pretty trivial with Go.
reply
Unless you use CGO. I've heard people using Zig (which has great cross compilation for the Zig language as well) to cross compile C with CGO though.
reply
Yes, but they're compiling binutils.
reply