[Bug 22540] New: CMake hangs when trying to detect and test MinGW compiler (gcc.exe & g++.exe)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 1 01:13:23 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22540

           Summary: CMake hangs when trying to detect and test MinGW
                    compiler (gcc.exe & g++.exe)
           Product: Wine
           Version: 1.1.43
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: nil094 at yahoo.com


CMake hangs when trying to detect a usable Compiler, preferable MinGW, assuming
`-G "Unix Makefiles"' has been set as commandline argument.
CMake is also consuming a significant amount of CPU.


Excpected output when running cmake natively (example):
$ cmake .
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/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++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/user/somepath


Actual Output:
$ wine cmake . -G 'Unix Makefiles'
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: C:/MinGW/bin/gcc.exe
    (... nothing happens, just consuming CPU)


MinGW is installed into C:\MinGW, CMake (latest version from cmake.org) is
Installed into C:\CMake.

The projectfile (CMakeLists.txt) is working properly, and I've tested the
project successfully on Windows XP SP2, using exactly the same CMake version,
creating projectfiles for MinGW, VisualStudio and SunStudio, so it's most
certainly not the CMakeLists.txt who's causing the bug.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list