mingw-w64 with seh exceptions, win32 threads

Asked by Tony Kelman

Perhaps this question should go to Debian - I'm interested in using the MinGW-w64 cross-compiler package but my preference is for SEH exception handling on x86_64 (rather than sjlj), and win32 threading instead of posix to avoid the dependence on libwinpthread-1.dll. Other non-Debian distributions like Fedora and OpenSUSE provide this combination by default, though I recognize win32 threading does not work as well with std::thread so it's not ideal for all users. If there were a mechanism for providing multiple options through Debian/Ubuntu packaging, it would be a much more versatile platform for cross-compilation.

Maybe this would be good to do as a PPA? I'm experimenting now with doing dpkg-buildpackage with a couple small modifications to the debian/rules file where the appropriate configure flags are used.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gcc-mingw-w64 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Tony Kelman (tkelman) said :
#2

Thanks actionparsnip, that solved my question.