[CMake] Need cmake to work on AIX 5.3

Arindam Mukherjee arindam.mukerjee at gmail.com
Tue Oct 9 05:58:55 EDT 2012


Hi,

I have to get a build of my product on AIX 5.3 (powerpc) because of
backward compatibility concerns. The product builds fine on such a
system using conventional gmake. However, cmake fails to identify the
xlc/xlC compilers correctly and reports them as broken. What is the
way to fix this?

Could I force cmake to recognize the compilers correctly in some
manual way. I tried using CMAKE_FORCE_C_COMPILER and
CMAKE_FORCE_CXX_COMPILER but it didn't work. I am not sure of the
arguments to pass either. Any help is greatly appreciated.

Thanks,
Arindam


More information about the CMake mailing list