tags:

views:

142

answers:

1

I have Xcode 3.2.2 and I am trying to use LLVM version 1.0.2 as a compiler.

When I do that, I see the error

Library not found for -lgcc

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

How do I solve that?

thanks.

+2  A: 

You can't use LLVM to compile iPhone apps in 3.2. You'll need to use GCC.

Rob Napier
thanks but why Xcode offers me this option?
Digital Robot
Because Xcode is used to build Mac apps, which can be built with LLVM.
Rob Napier
apparently you can do it on the latest Xcode 3.2.3....
Digital Robot
correcting... apparently (theory) in practice 3.2.3 has so many problems that I had to install 3.2.2 again. I am not sure how Apple want us to use 3.2.3... lots of problems with applications you already have designed for 3.2 and below.
Digital Robot