And in mingw-w64, the only way to select a non-default CRT
CRT issues are indeed tricky, because they only bite in certain circumstances -- so long as you never pass a FILE* or a fileno across the dll boundary, or call malloc in one module and free in the other, or ...
then it works fine. Except when it doesn't :-).