3 ms·
> you just extract an old Linux distribution into a folder and tell your current/modern compiler to target it That sounds like more work than spinning up a Doc
by serbuvlad 1y ago
> you just extract an old Linux distribution into a folder and tell your current/modern compiler to target it
That sounds like more work than spinning up a Docker container though. I'm imagining
gcc --glibc-target=2.31
- saurik 1y agoSpinning up a Docker container the way I'm kind of assuming you are talking about is going to involve running the compiler in there, which is super annoying -- and extremely limited, as you often are going to get stuck with old versions of all of your toolchain components as well -- and certainly way more difficult than just extracting the distribution to disk and using gcc --sysroot=/path/to/glibc-2.31.