On 10/25/2012 04:04 PM, Alan W. Irwin wrote:
> bash.exe-3.1$ /z/home/wine/newstart/cmake-2.8.9-win32-x86/bin/cmake.exe -P 
> info.cmake
> 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[]]
> 
> So there were quite different results in that case as well which I
> think you didn't expect?

Upon closer inspection of bad_build_dir content I see this file:

 bad_build_dir/CMakeFiles/CompilerIdC/CMakeCCompilerId.o

That means extraction from "a.exe" failed and CMake fell back to
trying the compiler with the "-c" option.  That produced the .o
from which the compiler id was extracted.  Let's verify that by
testing info.cmake in

 bad_build_dir/CMakeFiles/CompilerIdC

and reading "CMakeCCompilerId.o" instead of "a.exe".  Again please
report the output from both builds of CMake.

Thanks,
-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to