Can I use Google Test on MinGW?
We haven’t tested this ourselves, but Per Abrahamsen reported that he was able to compile and install Google Test successfully when using MinGW from Cygwin. You’ll need to configure it with: PATH/TO/configure CC=”gcc -mno-cygwin” CXX=”g++ -mno-cygwin” You should be able to replace the -mno-cygwin option with direct links to the real MinGW binaries, but we haven’t tried that. Caveats: • There are many warnings when compiling. • make check will produce some errors as not all tests for Google Test itself are compatible with MinGW. We also have reports on successful cross compilation of Google Test MinGW binaries on Linux using these instructions on the WxWidgets site. Please contact googletestframework@googlegroups.com if you are interested in improving the support for MinGW.