[CMake] AIX 64bit xlC

Brian Little brian.little at emergent.net
Fri Nov 3 07:24:59 EST 2006


I don't know anything about AIX 64bit, but if -X 64 is a compiler flag, try
using:
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -X 64" CACHE STRING "" FORCE )
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -X 64" CACHE STRING "" FORCE )

I know that is how I've added compiler flags to MSVS builds.

Also, http://www.cmake.org/Wiki/CMake_Useful_Variables is a great resource.

Brian Little

-----Original Message-----
From: cmake-bounces+brian.little=emergent.net at cmake.org
[mailto:cmake-bounces+brian.little=emergent.net at cmake.org] On Behalf Of Brian
Macy
Sent: Friday, November 03, 2006 12:02 AM
To: cmake at cmake.org
Subject: [CMake] AIX 64bit xlC

Hi,

I'm trying to do AIX xlC 64bit builds.  I think I'm good except for the 
"-X 64" flag for AR to work with 64bit object files.  I couldn't find 
anything in the docs to allow me to set that.

Brian Macy


_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list