I'm building LLVM (11.0.0) with gcc-mingw-w64-i686 (8.3.0-6+21.3-deb10u1) on debian buster targeting windows 7 32 bit. The building is fine but failed when running any of the executables, missing the 'api-ms-win-core' dlls. I checked that on Windows 7 there're some of these dlls of different version. For example 'api-ms-win-core-com-l1-1-1.dll' is missing but there's 'api-ms-win-core-com-l1-1-0.dll'.
I tried to find the corresponding version of dlls but there's still missing exported APIs so I totally stuck here. What might be wrong? Could you please give any hints or directions that I should try?
Really thanks!
Last edit: Ding Fei 2021-06-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm building LLVM (11.0.0) with gcc-mingw-w64-i686 (8.3.0-6+21.3-deb10u1) on debian buster targeting windows 7 32 bit. The building is fine but failed when running any of the executables, missing the 'api-ms-win-core' dlls. I checked that on Windows 7 there're some of these dlls of different version. For example 'api-ms-win-core-com-l1-1-1.dll' is missing but there's 'api-ms-win-core-com-l1-1-0.dll'.
I tried to find the corresponding version of dlls but there's still missing exported APIs so I totally stuck here. What might be wrong? Could you please give any hints or directions that I should try?
Really thanks!
Last edit: Ding Fei 2021-06-20
With pthread enabled, the same building process for x86_64 works fine both on windows 7/10 64-bit.
And the i686 executables built works on windows 10 64-bit but not on windows 7 64-bit for the same reason: missing dlls.
Last edit: Ding Fei 2021-06-20