[CMake] cmake 2.3.2 nor latest cvs work on Irix
William A. Hoffman
billlist at nycap.rr.com
Wed Jan 25 10:37:22 EST 2006
At 10:29 AM 1/25/2006, Renteria, Jose (Cont, ARL/CISD) wrote:
>The build is done with the following environment settings:
>/usr/bin/cc -64 -T 128000000 using Scons.
>
>We have been building CMake this way for the last several versions.
>Our last build of cmake (2.0.6) works well and we are able to build
>ParaView, VTK ...
>
>
> gmake[3]: Entering directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp'
> Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
> /usr/bin/cc -64;-T;128000000 -64 -T 128000000 -64 -T 128000000 -o
> CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c
> /vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp/testCCompiler.c
> cc ERROR: no source or object file given
> /bin/sh: -T: not found
> /bin/sh: 128000000: not found
>
OK, so the problem is that CC is being set to the compiler plus the arguments.
This is normally done with CC and CFLAGS. However, there must have been something in
2.0.6 to handle this that was lost. I will look into the problem. For now, you should
try and separate the flags from the compiler.
-Bill
More information about the CMake
mailing list