Hi,<br><br>I can't seem to get the combination of XCode and GCC 4.2 to be happy with CMaka. I've tried several different ways to set the compiler version. Setting the CMAKE_C/CXX_COMPILER doesn't seem to work. But if i set the environment variabes, CMake comes back and tells me something like this:<br>
<br> Run Build Command:/usr/local/bin/cmakexbuild -project<br> CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec -configuration<br> Debug<br><br> 2009-12-18 00:50:45.858 xcodebuild[42636:331b] Warning: Couldn't discover<br>
the 'gcc-4.2' compiler's built-in search paths and preprocessor definitions<br> for language dialect 'c'. This may lead to indexing issues.<br><br> Compiler: /Developer/Library/Xcode/Plug-ins/GCC<br>
4.0.xcplugin/Contents/Resources/gcc-4.2<br><br> Reason: sh: /Developer/Library/Xcode/Plug-ins/GCC<br> 4.0.xcplugin/Contents/Resources/gcc-4.2: No such file or directory<br><br>What am I missing with here...?<br><br>Thanks,<br>
Hai<br>