标签: llvm5

在XCode 5上使用Boost - Apple LLVM 5.0

我很高兴XCode 5的NDA结束了,我可以问这个问题.

我现在在为XCode 5构建Boost时遇到问题,因为只有一个编译器LLVM 5.0

我已经尝试使用--c ++ 11,使用clang使用了Homebrew ....我尝试了各种各样的想法和脚本,但到目前为止还没有.

任何帮助,将不胜感激.谢谢

boost clang xcode5 llvm5

11
推荐指数
1
解决办法
1万
查看次数

iOS xCode5编译器设置为LLVM 5.0时不支持编译器'com.apple.compilers.llvmgcc42'错误

我正在尝试打开一个使用iOS 6.0构建的旧项目.该项目用于编译正常,但在xCode 5下打开时,我得到这个神秘的错误消息.

Unsupported compiler 'com.apple.compilers.llvmgcc42' selected for architecture 'armv7'
Unable to determine concrete GCC compiler for file /Users/alexanderstone/Desktop/Development/RestKit/Vendor/NXJSON/NSError+Extensions.m of type sourcecode.c.objc.
Unable to determine concrete GCC compiler for file /Users/alexanderstone/Desktop/Development/RestKit/Vendor/NXJSON/NXDebug.m of type sourcecode.c.objc.
Unable to determine concrete GCC compiler for file /Users/alexanderstone/Desktop/Development/RestKit/Vendor/NXJSON/NXJsonParser.m of type sourcecode.c.objc.
Unable to determine concrete GCC compiler for file /Users/alexanderstone/Desktop/Development/RestKit/Vendor/NXJSON/NXJsonSerializer.m of type sourcecode.c.objc.
Run Code Online (Sandbox Code Playgroud)

我已经检查了两个项目构建设置,它们看起来是正确的 - LLVM 5.0被选为两者的编译器.

在此输入图像描述

在此输入图像描述

另外,我检查了编译器抱怨的.m文件,并且没有看到任何对GCC的引用.有一些ASSERT()和其他宏,但我不知道它们是否是特定于编译器的.

当所有子项目似乎都设置为llvm5.0时,如何解决xCode 5中缺少的llvmgcc4.2编译器?

llvm-gcc ios6 ios7 xcode5 llvm5

6
推荐指数
1
解决办法
9052
查看次数

标签 统计

llvm5 ×2

xcode5 ×2

boost ×1

clang ×1

ios6 ×1

ios7 ×1

llvm-gcc ×1