Dibya must be bored
https://msfn.org/board/topic/183588-project-s … llvm-and-clang/
I do know that in 1-28-2020 the then current version of Clang required vista. Then current GCC still worked fine in Mingw-64 as of 10-9-2021 (use latest msvcrt for NT3.51,95,98,ME,NT4,2000)
gcc Thread model: win32
gcc version 9.3-win32 20200320 (GCC)
and static dependencies
I have this note in my dosbox guide from 2-19-2020 where I used Ubuntu 1910 x64 w/MINGW-W64 v6.0.0.3
#MSYS2 DO NOT USE MINGW-W64, GCC OR CLANG provided via PACMAN if you want builds compatible with <XP. That MINGW-W64 is POSIX, you need WIN32!.
So this would need to be looked at if POSIX needed:
https://github.com/msys2/MINGW-packages/issues/5139
My last research on this: Re: DOSBox Compilation Guides
Something to look if keeping pthreadcommits that break XP:
https://fanael.github.io/stockfish-on-windows-98.html
https://github.com/meganz/mingw-std-threads
This post states 8.0 possibly good but doubtful http://forum.doom9.net/showpost.php?p=1951952&postcount=43
Mingw-w64 v6.0 should be good.
This is from my DOSBox guide where I did use clang. The below GCC versions compiled a working dosbox for NT3.51+
#This guide assumes Ubuntu 20.04 x64 w/MINGW-W64 v6.0.0.3 or Windows 10 x64 1909 w/WSL Ubuntu 18.04.2 LTS w/MINGW-W64 5.0.3-1 or Windows 10 w/MSYS2 w/ MINGW-W64 w/ GCC 8.1.0 or w/MINGW w/ GCC 6.3.0
#MINGW-W64 DWARF win32 thread INSTALL
#THESE BUILDS ARE FOR WIN32 THREAD MODEL. MSYS2 ONLY PROVIDES POSIX!
#COMPATIBLE WITH NT3 […]
Show full quote
#MINGW-W64 DWARF win32 thread INSTALL
#THESE BUILDS ARE FOR WIN32 THREAD MODEL. MSYS2 ONLY PROVIDES POSIX!
#COMPATIBLE WITH NT3.50+,95+
#COMPATIBLE WITH >=PENTIUM PRO
#MINGW-W64 POSIX INSTALL
#Installation of CLANG will overwrite the previous Mingw-w64 install so ONLY PERFORM THE CLANG INSTALL […]
Show full quote
#MINGW-W64 POSIX INSTALL
#Installation of CLANG will overwrite the previous Mingw-w64 install so ONLY PERFORM THE CLANG INSTALL ON A COPY OF YOUR MSYS2 FOLDERS!
#ONLY COMPATIBLE WITH XP+ (2000 with BlackWingCat Extended Kernel)
#COMPATIBLE WITH >=PENTIUM PRO
#=======================================================
#MinGW ONLY (REQUIRES ABOVE MSYS2 TO BE INSTALLED)
#=================== […]
Show full quote
#=======================================================
#MinGW ONLY (REQUIRES ABOVE MSYS2 TO BE INSTALLED)
#=======================================================
#COMPATIBLE WITH NT3.50+,95+
#COMPATIBLE WITH <Pentium Pro