May I suggest looking to msys2's pkgbuild and patch set for gcc and gnupg? It would give you a better idea I think.
https://github.com/msys2/MINGW-packages/tree/2cfdf054df2c826d7c61237ee5ac2453b0f3964d/mingw-w64-gcc https://github.com/msys2/MINGW-packages/tree/2cfdf054df2c826d7c61237ee5ac2453b0f3964d/mingw-w64-gnupg On Fri., Sep. 18, 2020, 3:02 a.m. Ave Milia via Mingw-w64-public, < mingw-w64-public@lists.sourceforge.net> wrote: > > Try removing`--with-dwarf3`. I am not sure whether it will cause any err= > > ors, but when bootstrapping GCC on Windows with > > non-DWARF exception models (that is SJLJ and SEH), it is never > specified.= > > The build failed with seemingly same errors. > > I have also tried to just copy Debian options to the best of my ability, > as they have a million configuration instructions. That failed, earlier in > the build and with a different error. Whatever. > > I have also tried to build from sources on mingw-w64 sourceforge project, > but it says "Please check if the mingw-w64 header set and the build/host > option are set properly.". [0] doesn't say which exact options I should set > and to which values. Moreover, it says "table" there, but this is how the > "table" renders for me: [1]. Additionally, sources don't contain any > README, BUILD or INSTALL. > > I guess I have to give up on this. > > [0]: <https://sourceforge.net/p/mingw-w64/wiki2/Compiling%20the%20Runtime/ > > > [1]: <https://i.imgur.com/RONXEMm.png> > > > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public