[CMake] cmake 2.3.2 nor latest cvs work on Irix

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


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



More information about the CMake mailing list