Hacker News new | ask | show | jobs
by dgrunwald 730 days ago
You don't need a distro with ancient glibc; you can instead create a cross-compilation toolchain.

We used https://crosstool-ng.github.io/docs/ to create a cross-compilation toolchain that runs on modern debian, but produces executables that only need glibc 2.17. The only downside is that you no longer can simply apt-get a library you need -- all dependencies shipped along with your application also need to be built with this cross-compiler.