With UDK4 you can compile with mingw instead with MS VS?

With UDK4 you can compile with mingw instead with MS VS?

Not without major modifications, no. UE4 isn’t really using Visual Studio itself, though, it is only using the compiler.