[CMake] cmake 2.3.2 nor latest cvs work on Irix

William A. Hoffman billlist at nycap.rr.com
Wed Jan 25 11:24:44 EST 2006


At 11:19 AM 1/25/2006, Renteria, Jose (Cont, ARL/CISD) wrote:
>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.   

Those should all be double quoted.
The problem is in your environment variables. I was able to reproduce the problem
like this:

export CC="gcc -Dhello -Dbill"
cmake ../someproject

What are CC and CXX environment variables set to prior to running cmake?

-Bill



More information about the CMake mailing list