[cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

Brad King brad.king at kitware.com
Thu Oct 25 17:05:12 EDT 2012


On 10/25/2012 04:51 PM, Alan W. Irwin wrote:
> bash.exe-3.1$ /z/home/wine/newstart/bootstrap_cmake/install_4.7.0/bin/cmake.exe -P info.cmake
> -- [INFO:compiler[GNU]]
> -- [INFO:compiler_version[00000004.00000005.00000002]]
> -- [INFO:platform[MinGW]]
> -- [INFO:arch[]]
> bash.exe-3.1$ /z/home/wine/newstart/cmake-2.8.9-win32-x86/bin/cmake.exe -P info.cmake
> -- [INFO:compiler[GNU]]
> -- [INFO:compiler_version[00000004.00000005.00000002]]
> -- [INFO:platform[MinGW]]
> -- [INFO:arch[]]

This shows that file(STRINGS) does work *sometimes* with the
pre-built binary.  You have a few ".exe" files for which it
does not work and a ".o" for which it does work.  The log
indicates it also failed for Fortran's ".o" file so it does
not depend just on ".exe" versus ".o".

Since this all works on native Windows it is likely a problem
with the way Wine is running the MSVC-built binary and not with
CMake itself.  You have a work-around.

-Brad



More information about the cmake-developers mailing list