Thank you. The compiler set is just from winlibs.com, I think it may not mix the different versions of gcc, but pack gcc and some Windows headers and libraries from MinGW-w64, then make them work together.
Oh, I remember that the gcc I used before was built with msvcrt, later I'll build wxWidgets myself.