[CMake] CMake still broken post-2.8.1

Phil Smith phil at voltage.com
Wed Jan 25 09:06:47 EST 2012


Just to be clear: that doesn't mean CMake is right -- it's not passing all the arguments it should. How to move this forward?

-----Original Message-----
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of Phil Smith
Sent: Saturday, January 21, 2012 4:50 PM
To: Brad King
Cc: cmake at cmake.org; Bill Hoffman
Subject: Re: [CMake] CMake still broken post-2.8.1

Argh, premature send syndrome: the hang is definitely because cc.rex is missing arguments and thus invokes the actual, two-stage C compiler without a source file.

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com] 
Sent: Saturday, January 21, 2012 3:45 PM
To: Phil Smith
Cc: Bill Hoffman; cmake at cmake.org
Subject: Re: [CMake] CMake still broken post-2.8.1

On 1/21/2012 12:24 PM, Phil Smith wrote:
> GOOD
> !!!! C:/Program Files/Regina/regina.exe cc.rex dcc.exe   CMakeCCompilerId.c
> -- arg=[C:/Program Files/Regina/regina.exe]
> -- arg=[cc.rex dcc.exe]
> -- arg=[CMakeCCompilerId.c]
[snip]
> BAD
> !!!! c:/Program Files/Regina/regina.exe cc.rex;dcc.exe   CMakeCCompilerId.c
> -- arg=[c:/Program Files/Regina/regina.exe]
> -- arg=[cc.rex]
> -- arg=[dcc.exe]
> -- arg=[CMakeCCompilerId.c]
[snip]
> GOOD:
> dcc.exe -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c C:/SVN/zFPE/CMakeFiles/CMakeTmp/testCCompiler.c
> Exiting cc.rex, rc=0
[snip]
> BAD:
> dcc.exe CMakeCCompilerId.c

Can you reproduce these two results by running the two different
command lines on a dummy .c file by hand at a command prompt?

-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://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list