Prior to running cmake -- We use Scons to set CC and CXX environment variables as follows:
env.Replace(CC = '/usr/bin/cc -64 -T 128000000') env.Append(CXXFLAGS = '-ptused') I got cmake to work by making the following changes: env.Replace(CC = '/usr/bin/cc') env.Append(CXXFLAGS = '-ptused -64 -T 128000000') which is consistent with what you were saying. I will also test you cvs fix. Thanks much, Jose -----Original Message----- From: William A. Hoffman [mailto:[EMAIL PROTECTED] Sent: Wed 1/25/2006 11:24 AM To: Renteria, Jose (Cont, ARL/CISD); [email protected] Cc: Subject: RE: [CMake] cmake 2.3.2 nor latest cvs work on Irix 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 _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
