4 ms·
Compile in Debian. It has a full cross compile tool chain and is as simple as adding the target architecture to dpkg to get the libraries you need (assuming you
by cpuguy83 4y ago
Compile in Debian.
It has a full cross compile tool chain and is as simple as adding the target architecture to dpkg to get the libraries you need (assuming you don't mind the versions packaged for Debian).
Getting the right libs is really the hardest part of cross compiling, and zig can't really help there.
Not to crap on zig, it's pretty badass, just offering a well battle tested alternative.
- cube2222 4y agoWith cross-compiling I also mean cross-OS compiling.