On Wednesday, 16 November 2022 at 15:36:19 UTC Albrecht Schlosser wrote:
You seem to miss `mingw32-make`. Please try this command (output
from my system):
$ mingw32-make --version
GNU Make 4.3
Built for Windows32
...
I've generally found "MSYS Makefiles" to be fine with MSYS2/mingw64, so worth trying that first...
3. CMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++": make
sure you don't need these DLL's
My mingw64 builds DO NOT need these set.
My mingw32 builds DO need these set.
I have no idea what is "normal". Probably does no harm to have these settings enabled though?
4. Remaining issue: unfortunately the build (still) depends on
`libwinpthread-1.dll => /mingw64/bin/libwinpthread-1.dll` as
output by `ldd`
Point 4 is something I need to investigate because it makes the
executables depend on this DLL. You can either run the programs from
your MSYS shell or copy the DLL to the binary directory side by side
with the executables if you want to run these programs under pure
Windows.
That's linked against winpthread rather than using Win32 native threads?
That's.... unexpected... and not what we would want.
Is it a mis-setting in the config? Or the wrong version of the mingw64 tools?
Weird...