[cfe-dev] Clang with Xcode 3.2.2?
Chris Lattner
clattner at apple.com
Thu Dec 9 16:26:40 PST 2010
On Dec 9, 2010, at 2:13 AM, Fons Rademakers wrote:
> Hi Ted,
>
> I've done this and it works fine for building for the iPhonesimulator
> however when building for iPhoneos is falls back to the llvm-gcc4.2
> compiler. I also changed the
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang with a link
> to clang from the trunk (build with arm support, of course). I've looked
> into 'Clang LLVM 1.0.xcspec' and added support for armv6 and armv7 but it
> still falls back to llvm-gcc4.2. So, what else should I change in this
> xcspec file or some other file.
Hi Fons,
I'd strongly recommend getting Xcode 3.2.5. Xcode 3.2.2's version of clang is very very old and doesn't support iOS development.
> With Xcode4 PR5 using llvm it all works, but the Xcode 4 source editor
> misses user scripts and has still many stability issues (make clean crashes
> consistently the session, etc).
Xcode 3.2.5 is best, Xcode 4 is still just a developer preview.
-Chris
More information about the cfe-dev
mailing list