Hi Arindam,<div><br></div><div>Maybe you can try this way:</div><div><a href="http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_a_different_compiler.3F">http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_a_different_compiler.3F</a></div>
<div><br></div><div><br></div><div>Xavier</div><div><br><br><div class="gmail_quote">On Tue, Oct 9, 2012 at 11:58 AM, Arindam Mukherjee <span dir="ltr"><<a href="mailto:arindam.mukerjee@gmail.com" target="_blank">arindam.mukerjee@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have to get a build of my product on AIX 5.3 (powerpc) because of<br>
backward compatibility concerns. The product builds fine on such a<br>
system using conventional gmake. However, cmake fails to identify the<br>
xlc/xlC compilers correctly and reports them as broken. What is the<br>
way to fix this?<br>
<br>
Could I force cmake to recognize the compilers correctly in some<br>
manual way. I tried using CMAKE_FORCE_C_COMPILER and<br>
CMAKE_FORCE_CXX_COMPILER but it didn't work. I am not sure of the<br>
arguments to pass either. Any help is greatly appreciated.<br>
<br>
Thanks,<br>
Arindam<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>