Hi,

 

I am running CMake on AIX 64-bit. When compiling in 64 bit on AIX, one needs
to add the the flag -q64 to the C and C++ compiler, and -X64 to the ar
command.

 

I was able to do it by copying the Modules/Platform/AIX.cmake file into my
own directory, and overriding it with the CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
command. The problem is that I did in CMake 2.4, and when I upgraded to 2.6,
my overriding no longer matched 2.6's requirements. 

 

What is best/most correct way to do this? Put another way, I would like to
not go through the same pain in future when upgrading my CMake - what would
be required from my side in order to submit a patch to the CMake project, to
support AIX 64 bit in future?

 

Thank you in advance.

 

Regards,

Dieter

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

Reply via email to