Installing Clang on Mac

发布时间:2025-08-08 05:33

Ruby on Rails框架入门教程 #生活知识# #编程教程#

This question shows research effort; it is useful and clear

1

Save this question.

Show activity on this post.

This is the first time I am working on Mac and I wanted to install the latest version of Clang, so I installed Xcode 5 and Xcode command line tools.

But the Clang version I got from the Xcode (in the terminal, I typed clang --version). It gives me following output:

clang++ --version Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix

I am confused what Clang version it is. I read that the latest Clang is version 3.5. Is the one above similar? (I need complete support for C++11). What is the difference?

asked Dec 12, 2013 at 5:23

Deepak Jain's user avatar

This answer is useful

5

Save this answer.

Show activity on this post.

Apple uses its own version numbers for Clang and LLVM which correspond with the Xcode version they are bundled with.

The actual Clang version is in indicated by the (based on LLVM X.Xsvn) part. So you have version 3.3, which is the most recent official release as you can see from the LLVM website. That version implements all the major C++11 features as you can see from the C++ support status page.

answered Dec 12, 2013 at 5:41

David Brown's user avatar

David BrownDavid Brown

13.6k4 gold badges40 silver badges56 bronze badges

3

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.

网址:Installing Clang on Mac https://klqsh.com/news/view/122361

相关内容

Welchen Mac habe ich?
Ways to install Windows 11
鞠婧祎携手MAC、蒂玮娜、沪上阿姨发起公益行动
Msft charge on credit card
REI on dobbin, Columbia, MD
MSBILL.INFO on credit card statement
How to set up Dual Monitors on Windows 11/10
Why is president Lincoln facing opposite than the others on coins?
Switching to Microsoft 365 Personal and Family Classic Plans
SEULGI 迷你二辑《Accidentally On Purpose》收录曲目

随便看看