Just for reference cmake 2.8.11 now fails with: $ cmake -G 'Unix Makefiles' -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc -DCMAKE_RC_COMPILER=i686-w64-mingw32-windres .. -- The C compiler identification is GNU 4.6.3 -- The CXX compiler identification is GNU 4.7.2 -- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- broken CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program.
It fails with the following output: Change Dir: /tmp/c/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec153748019/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec153748019.dir/build.make CMakeFiles/cmTryCompileExec153748019.dir/build make[1]: entrant dans le répertoire « /tmp/c/build/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /tmp/c/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec153748019.dir/testCXXCompiler.cxx.obj /usr/bin/c++ -o CMakeFiles/cmTryCompileExec153748019.dir/testCXXCompiler.cxx.obj -c /tmp/c/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTryCompileExec153748019.exe /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec153748019.dir/link.txt --verbose=1 /usr/bin/cmake -E remove -f CMakeFiles/cmTryCompileExec153748019.dir/objects.a /usr/bin/i686-w64-mingw32-ar cr CMakeFiles/cmTryCompileExec153748019.dir/objects.a @CMakeFiles/cmTryCompileExec153748019.dir/objects1.rsp /usr/bin/c++ -Wl,--whole-archive CMakeFiles/cmTryCompileExec153748019.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec153748019.exe -Wl,--out-implib,libcmTryCompileExec153748019.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 /usr/bin/ld: unrecognized option '--out-implib' /usr/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status make[1]: *** [cmTryCompileExec153748019.exe] Erreur 1 make[1]: quittant le répertoire « /tmp/c/build/CMakeFiles/CMakeTmp » make: *** [cmTryCompileExec153748019/fast] Erreur 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project) -- Configuring incomplete, errors occurred! You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed: CMAKE_RC_COMPILER= i686-w64-mingw32-windres -- Generating done -- Build files have been written to: /tmp/c/build -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

