Brian,

Thanks for the quick response. It is a flag for /usr/ccs/bin/ar to build libraries.

Brian Macy



Brian Little wrote:
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Macy
Sent: Friday, November 03, 2006 12:02 AM
To: [email protected]
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
[email protected]
http://www.cmake.org/mailman/listinfo/cmake



_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to