3 ms·
Can you compile on windows11 and run it on windows xp? Yeah didn't think so
by LtWorf 1y ago
Can you compile on windows11 and run it on windows xp? Yeah didn't think so
- int_19h 1y agoYou can do this even with the official Microsoft SDKs (just need to have the XP targeting pack). And then there are numerous third party development tools that allow this.
- LtWorf 1y agoYou can do this on linux too, make a chroot, done.
- freeone3000 1y agoWindows doesn’t need a chroot and a separate install base. You can build one binary for Longhorn, using the Windows 11 SDK, and it will run on everything from NT4 to 11 without modification.
- LtWorf 1y ago*assuming you wrote it in such a way to be able to do it
- int_19h 1y agoYeah, and then hope that the tools that you need to build even run on some ancient glibc version.
- LtWorf 1y agoStuff like innosetup?
- pjc50 1y agoUnless you choose to use APIs that aren't in Windows XP, then this isn't a problem. Win32 backwards compatibility is very impressive. Building a Win16 application would be more difficult. But this isn't directly comparable. The issue with Linux is getting a precompiled binary to work properly across all currently up to date distributions.