News for hackers. Stuff that matters.
Re:Win32 Is the Only Stable ABI on Linux? by int_19h on Monday August 15, 2022 @10:45PM (#32478683)
You don't need chroot to make sure that your build uses correct versions of all dependencies; you just need a sane build system that doesn't grab system-wide headers and libs. Setting up chroot is way overkill for this purpose; it's not something that should even require root.

In case of Windows SDK, each version ships headers that are compatible going all the way back to Win9x, and you use #defines to select the subset that corresponds to the OS you're targeting.

With respect to the C runtime, Windows has been shipping its equivalent of glibc as a builtin OS component for 7 years now. And prior to that, you could always statically link.

Re:Win32 Is the Only Stable ABI on Linux? by LtWorf on Tuesday August 16, 2022 @06:25PM (#32489780)
> Setting up chroot is way overkill for this purpose;

debootstrap stable chrootdir

That's it. Don't pretend it's difficult because it isn't.