我刚刚升级到带有 clang 的 OS X 10.8.2。的输出clang -v
是:
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
在 macports 上,有几个不同版本的 clang 可用(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
OS X 附带的“Apple clang 4.1”是否与 macports 的 clang-3.1 相同(几乎或完全相同)?
另外,3.2 和 3.1 有什么不同?