-- The C compiler identification is GNU 4.6.3 -- The CXX compiler identification is GNU 4.6.3 -- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- broken CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/bin/i686-w64-mingw32-gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/allefant/allegro/build_mingw/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2508212000/fast" make[1]: Entering directory `/home/allefant/allegro/build_mingw/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTryCompileExec2508212000.dir/build.make CMakeFiles/cmTryCompileExec2508212000.dir/build make[2]: Entering directory `/home/allefant/allegro/build_mingw/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/allefant/allegro/build_mingw/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2508212000.dir/testCCompiler.c.o /usr/bin/i686-w64-mingw32-gcc -o CMakeFiles/cmTryCompileExec2508212000.dir/testCCompiler.c.o -c /home/allefant/allegro/build_mingw/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTryCompileExec2508212000 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2508212000.dir/link.txt --verbose=1 /usr/bin/i686-w64-mingw32-gcc CMakeFiles/cmTryCompileExec2508212000.dir/testCCompiler.c.o -o cmTryCompileExec2508212000 -rdynamic i686-w64-mingw32-gcc: error: unrecognized option ‘-rdynamic’ make[2]: Leaving directory `/home/allefant/allegro/build_mingw/CMakeFiles/CMakeTmp' make[2]: *** [cmTryCompileExec2508212000] Error 1 make[1]: *** [cmTryCompileExec2508212000/fast] Error 2 make[1]: Leaving directory `/home/allefant/allegro/build_mingw/CMakeFiles/CMakeTmp' CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:38 (project) -- Configuring incomplete, errors occurred! make: *** [cmake_check_build_system] Error 1