views:

81

answers:

2

Maybe someone knows what this means?

error: can't exec '/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2' (No such file or directory)

I wanted to use LLVM GCC 4.2 compiler because an Apple guy said that's the best one. I guess LLVM GCC 4.2 does not work with iPhone OS 2.2.1 framework?

+1  A: 

Correct. That compiler only works with 3.0 and up I think.

St3fan
Actually, LLVM does not yet work for any version of the SDK targeted at the device. See my answer for more.
Brad Larson
+2  A: 

As I respond here to this question, LLVM is not yet ready to compile applications targeted at the iPhone for any version of the SDK. You can use it to build for the iPhone Simulator, as described in this question, because you are building for the Mac in that case.

I would expect it to be available soon with a new release of the iPhone SDK, given the rapid pace of improvement with the LLVM compiler and Clang parser.

Brad Larson