开发者

Is LLVM the default compiler in Xcode 4?

So I just installed Xcode as I registered to dev 开发者_开发技巧program so do I actually have to change the compiler from somewhere in Xcode or is LLVM on default? Thanks in advance!


"LLVM GCC 4.2" is the default in the initial 4 release it seems. (i.e.: The LLVM back-end with the GCC 4.2 parser.)

You can verify this by creating a new project, selecting the main project target (the bit at the top of the left hand pane) and then selecting the "Build Settings" option in the main area. If you then select "All" (the default is "Basic") and scroll down, you'll see "LLVM GCC 4.2" selected as the default.

You can of course change this to GCC 4.2 (the Xcode 3.x default) or pure LLVM.

There's a bit more information on the various settings (they're effectively identical to Xcode 3.2.x) in the existing Xcode 3.2.1 GCC CLANG and LLVM demystification question.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜