In the MinGW-W64 online installer there are several fields you can select. However I cannot find any documentation on this, and the guesses I've made don't give me the behaviour I want.
Clearly a lot of work has gone into this project so it seems a pity that uptake is being held back by lack of basic documentation.
The "Version" and "Architecture" fields are self-explanatory but the other fields I have trouble with are (values shown as of current installer):
- Threads, options
posixandwin32 - Exception, options
dwarfandsjlj - Build revision, options
0,1,2.
The values I chose on my previous install were win32, seh and 1 (clearly the options have changed since then but I am none the wiser as to what's what).
What are the pros and cons of each option, especially the threading model and exception handling, and which version is "best"?
The specific problems I have encountered using x86_64-win32-seh-rev1 are:
std::threadandstd::condition_variableare not supported- When debugging (using Code::Blocks as IDE), if an exception is thrown it does not jump to the exception handler; selecting Next Line does nothing 3 times and then aborts the run.
I can cope with the debugging problem but it would be really nice to have working C++11 threads.
std::threadetc. is hidden behind_GLIBCXX_HAS_GTHREADSwhich is not defined by my installation of mingw-w64 - M.Mwin32threads, this project enables C++11 threads, mutexes and condition_variable and it seems to work! - M.M