[CMake] Need cmake to work on AIX 5.3

Bill Hoffman bill.hoffman at kitware.com
Tue Oct 9 11:51:37 EDT 2012


On 10/9/2012 5:58 AM, Arindam Mukherjee wrote:
> 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.
Can you post the errors that you are getting?  There is no way to help 
with the information you have posted.  You need the compiler to work, 
forcing it will just cause trouble later.

We test on two different AIX machines nightly, so the compilers should work.

-Bill


-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list