Closed jdpatdiscord closed 11 months ago
Is this issue on SourceForge relevant?
IIRC, mingw-w64 no longer supports Windows XP, let alone Windows 2000.
Something that might be noteworthy is that the major / minor versions marked on the PE's are 0x0400, like it got ignored.
--with-default-win32-winnt=
option only affects the _WIN32_WINNT
macro. It doesn't change the OS/subsystem version numbers embedded in the PE headers.
@jdpatdiscord please close the issue if you have no additional questions.
I do have further questions, because as I listed in the issue, I had tried MinGW versions back to v5 and it still has the same dependency. The issue on SourceForge is relevant but the commit is very new.
Have you tried --bootstrapall
?
Hi, thank you for this project, it makes things a lot easier on Windows. However, I ran into an issue which it looks like you may have experience with based on my searching around.
Building GCC 12.3.0 works for Windows Server 2003 / XP, and I can use C++20/23 library features just fine. But, I am on a journey to NT 4.0 on modern compilers.
As a stepping stone I am trying to compile for Windows 2000 SP4. On SourceForge it says "mingw-w64 supports Windows OSes starting from Windows 2000 onwards."
I have tried --with-default-win32-winnt=0x0500 with these scripts. No luck. I tried MinGW v11 and latest v5.*. Something that might be noteworthy is that the major / minor versions marked on the PE's are 0x0400, like it got ignored.
The synopsis is all of these executables require exports
_strtoi64
and maybe other some exports frommsvcrt.dll
. However, since my system is updated with various service packs and runtimes, there are variousmsvcr*
which DO have the exports but aren't being linked to. Additionally, replacing msvcrt.dll with a renamed one of these runtimes complains about an export that stopped being exported in a newer version. This is very confusing.Sorry about making a support issue!!! Thank you for any help.