Martin Storsjö <[email protected]> wrote: > On Mon, 5 Oct 2026, LIU Hao wrote: > >> 在 2026-10-4 18:44, Kirill Makurin 写道: >>> I had this in mind. I think we can also handle arm in a similar way? IIRC, >>> arm32 code can only run on Windows 8 or later, and arm64 can only run on >>> Windows 10 and later. Is that correct? >> >> Windows 8 and 8.1 are ARM32-only. (I don't know anything about Windows 10.) >> Windows 11 is ARM64-only. > > Windows 10 was officially only for ARM64 hardware, but creative developers > have gotten Windows 10 running on Windows RT (arm32) hardware. All > versions of Windows 10 on ARM64 could run ARM32 binaries (provided that > the hardware supported it). > >> Windows 10 provides emulation for x86-32 programs. Windows 11 before 24H2 >> provides emulation for x86-32, x86-64 and ARM32 programs. Windows 11 since >> 24H2 only provides x86-32 and x86-64 emulation. > > I wouldn't call what Windows 11 before 24H2 does for "emulation" for > ARM32, it just executes them natively.
Thank you all for the details. What it means for winpthreads is: 1. For x86-32: we need check for any functions added after NT 3.1 or not available on Win9x 2. For x86-64: we only need to check for functions which were added after XP; function available in pre-XP and XP are always available 3. For arm32: we only need to check for functions which were added after Win8; function available in pre-Win8 and Win8 are always available 4. For arm64: we only need to check for functions which were added after Win10 (first released version); function available in pre-Win10 and Win10 are always available Also, any Win9x check only applies to x86-32. - Kirill Makurin _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
