Downer. <br><br>Thanks!<br><br>- Hai<br><br><div class="gmail_quote">On Fri, Dec 18, 2009 at 5:58 AM, Brad King <span dir="ltr">&lt;<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Hai Nguyen wrote:<br>
&gt; I can&#39;t seem to get the combination of XCode and GCC 4.2 to be happy<br>
&gt; with CMaka. I&#39;ve tried several different ways to set the compiler<br>
&gt; version. Setting the CMAKE_C/CXX_COMPILER doesn&#39;t seem to work. But if i<br>
&gt; set the environment variabes, CMake comes back and tells me something<br>
&gt; like this:<br>
&gt;<br>
&gt;   Run Build Command:/usr/local/bin/cmakexbuild -project<br>
&gt;   CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec -configuration<br>
&gt;   Debug<br>
&gt;<br>
&gt;   2009-12-18 00:50:45.858 xcodebuild[42636:331b] Warning: Couldn&#39;t discover<br>
&gt;   the &#39;gcc-4.2&#39; compiler&#39;s built-in search paths and preprocessor<br>
&gt; definitions<br>
&gt;   for language dialect &#39;c&#39;.  This may lead to indexing issues.<br>
&gt;<br>
&gt;   Compiler: /Developer/Library/Xcode/Plug-ins/GCC<br>
&gt;   4.0.xcplugin/Contents/Resources/gcc-4.2<br>
&gt;<br>
&gt;   Reason: sh: /Developer/Library/Xcode/Plug-ins/GCC<br>
&gt;   4.0.xcplugin/Contents/Resources/gcc-4.2: No such file or directory<br>
&gt;<br>
&gt; What am I missing with here...?<br>
<br>
</div></div>CMake doesn&#39;t yet support choosing the Xcode compiler.<br>
<br>
  <a href="http://www.cmake.org/Bug/view.php?id=9125" target="_blank">http://www.cmake.org/Bug/view.php?id=9125</a><br>
<font color="#888888"><br>
-Brad<br>
</font></blockquote></div><br>