3 ms·
Sure, but is there any convenient mechanism to ensure that you don't use new features? I guess what I'm asking is, why does glibc not make this easier to do?
by AnIdiotOnTheNet 5y ago
Sure, but is there any convenient mechanism to ensure that you don't use new features? I guess what I'm asking is, why does glibc not make this easier to do?
- spystath 5y agoI think the generally accepted way to do that would be a container image running a relatively old distribution. This is exactly what python packages do when they need to distribute binary packages on linux [0]. You are supposed to compile the package in a container (or VM) that runs CentOS 7 (or older if you want broader support), although now the baseline is moving gradually to Debian 9. [0]: https://github.com/pypa/manylinux https://github.com/pypa/manylinux
- AnIdiotOnTheNet 5y agoSo round about, the answer is a firm "no".
- Conan_Kudo 5y agoI think you can pass a linker flag to make it use the oldest version of each symbol, but I'm not sure what that flag is.