I am using https://sourceforge.net/p/mingw-w64/wiki2/Cross%20Win32%20and%20Win64%20compiler/
In there, it says to use --disable-multilib if I do not want 32 and 64-bit support, only the native mingw-w64 architecture. Despite adding that to the configure options, lib32 is still built. I'd have to say there is an error in the documentation, or the configure script is not working as expected. I added --disable-multiarch and that did not work for the mingw-w64-crt. I guess the only thing that will work is --disable-lib32. Also of note, following the instructions for building just the GCC ompiler (make all-gcc), I get an error that the headers to be fixed are expected to be in <prefix>/mingw. In my case, I did the Windows equivalent of ln -s /usr/local/x86_64-w64-mingw32 /usr/local/mingw because I had used /usr/local as my prefix. But, the GCC compile still complained about the header missing, and expects them in /mingw/include. So I copied the headers there and it worked. Maybe this is why the gcc that comes from msys64 package mingw-w64-x86+64-toolchain is configured with " --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include", and I would just have to modify my configure to use /usr/local/ x86_64-w64-mingw32/include instead _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
