3 ms·
Why not? Of course you need an up-to-date compiler, but beyond that I've never heard of any fundamental issues in compiling binaries that work on older systems
by missblit 6y ago
Why not? Of course you need an up-to-date compiler, but beyond that I've never heard of any fundamental issues in compiling binaries that work on older systems (well besides installing newer compilers or cross-compiling being a real PITA to set up on Linux sometimes, but that has nothing to do with language features).
- superkuh 6y agoReplacing the compiler on a distro is not a simple task and it has system wide consequences that make it very undesirable for continued system stability. Yes, you can try compiling everything static and then distributing the fat binary. It might work on most systems. But if it's dynamically linked then it'll fail with libc++ errors locally (local libc++ not having c++$latest support).
- brown9-2 6y agoWhy can’t you install multiple versions of the compiler on the system? This seems like a poor design choice that could be easily solvable if you move outside the “only run what the distribution blesses” idea.