At 11:55 AM 1/25/2006, Renteria, Jose (Cont, ARL/CISD) wrote: >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')
One thing you may want to watch out for is that some compilers like to have the -64 as the very first compiler option. So, you may want to do this: CC="/usr/bin/cc -64' CFLAGS="-ptused -T128000000" Also, note that CC and CFLAGS go together, and CXX and CXXFLAGS go together. -Bill _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
