It seems like the CC and CFLAGS are set correctly and cmake is not parsing the 
flags correctly.  Here is  is what the settings look like in ccmake before I 
hit the 'c” key and the error occurs:

 CMAKE_CXX_FLAGS                  -64 -LANG:std -ptused -T 128000000            
                                      
 CMAKE_C_FLAGS                    -64 -T 128000000                              
                                      
 CMAKE_EXE_LINKER_FLAGS           -64 -T 128000000                              
                                                                          
 CMAKE_MODULE_LINKER_FLAGS        -64 -T 128000000                              
                                      
 CMAKE_SHARED_LINKER_FLAGS        -64 -T 128000000    

This results in the error I earlier described.

As a test I removed the “-T 128000000” flags and cmake  started moving along as 
expected.
Unfortunately the “-T 128000000” is required for our Paraview build.   


Jose


-----Original Message-----
From:   [EMAIL PROTECTED] on behalf of William A. Hoffman
Sent:   Wed 1/25/2006 10:37 AM
To:     Renteria, Jose (Cont, ARL/CISD); [email protected]
Cc:     
Subject:        RE: [CMake] cmake 2.3.2 nor latest cvs work on Irix
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


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake



_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to