Remix.run Logo
IshKebab 7 hours ago

It's usually an enormous pain to set up. QEMU is probably the best option.

pantalaimon 6 hours ago | parent | next [-]

T2 manages to do it

https://t2linux.com/

STKFLT 6 hours ago | parent | prev | next [-]

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

sofixa 7 hours ago | parent | prev [-]

Depends on the language, it's pretty trivial with Go.

Zambyte 6 hours ago | parent | next [-]

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.

IshKebab 6 hours ago | parent | prev [-]

Yes, but they're compiling binutils.