问题描述
我刚刚通过mac升级到OS X 10.8.2,它自带了clang。 clang -v
的输出是:
Apple clang 4.1版标签/ Apple / clang-421.11.65)(基于LLVM 3.1svn)
/ pre>
目标:x86_64-apple-darwin12.2.0
线程模型:posix
在macports上,有几个clang版本(
port search clang
)clang @ 2.9(lang)
C,C ++,Objective C和Objective C ++编译器
clang-2.9 @ 2.9 b $ b C,C ++,Objective C和Objective C ++编译器
clang-3.0 @ 3.0(lang)
C,C ++,Objective C和Objective C ++编译器
clang-3.1 @ 3.1 )
C,C ++,Objective C和Objective C ++编译器
clang-3.2 @ 3.2-r164372(lang)
C,C ++,Objective C和Objective C ++编译器
是苹果ang 4.1(确切或接近)与macports的clang-3.1相同? LLVM 3.1svn意味着它在3.1版本发布之后的某个时候被分支,但是在3.2之前的时候被分支出来了,但是在3.1之前是什么不同于3.1?
解决方案(尚未发布)。 Apple不会在发布的LLVM / Clang版本上工作。
这里是从3.1到3.2的变化:
请注意,由于3.2尚未发布,这不是一个完整的列表。
I just upgraded by mac to OS X 10.8.2 which comes with clang. The output of
clang -v
is:Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn) Target: x86_64-apple-darwin12.2.0 Thread model: posix
On macports, there are several clang versions (
port search clang
)clang @2.9 (lang) C, C++, Objective C and Objective C++ compiler clang-2.9 @2.9 (lang) C, C++, Objective C and Objective C++ compiler clang-3.0 @3.0 (lang) C, C++, Objective C and Objective C++ compiler clang-3.1 @3.1 (lang) C, C++, Objective C and Objective C++ compiler clang-3.2 @3.2-r164372 (lang) C, C++, Objective C and Objective C++ compiler
is Apple clang 4.1 (exactly or nearly) the same as clang-3.1 from macports? And what's different in 3.2 compared to 3.1?
解决方案LLVM 3.1svn means that it was branched sometime after 3.1 was released but before 3.2 (which has not been released yet). Apple doesn't work off of released versions of LLVM/Clang.
And here are the changes from 3.1 to 3.2: http://clang.llvm.org/docs/ReleaseNotes.html
Note that since 3.2 has not been released, this is not a complete list.
这篇关于ang与苹果<unk>之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!