2 ms·
I suspect the real pain is because someone bolted on cross compilation support after the project was developed. If they started that way from the beginning, it
by BobbyTables2 3y ago
I suspect the real pain is because someone bolted on cross compilation support after the project was developed. If they started that way from the beginning, it would be straightforward.
In ancient times, people were more focused on compiling for their current platform, not a different one.
The rise of Linux on embedded devices changed things. Embedded devices are not just simple microcontrollers running bespoke code. For example, today nobody wants to run their Linux build system on a Raspberry PI utilizing an SD card for storage!!
- rcxdude 3y agoAFAIK, most distributions do exactly what you're describing: cross-compiling packages is enough of a pain that policy is paclages must be build on the target hardware. Fedora had a cluster of raspberry pis for this at one point (and maybe still do). Only the dedicated embedded tools loke yocto and buildroot go for cross-compilation by default.