[cfe-dev] 回复: Difference between clang and clang++

Chris Lattner clattner at apple.com
Mon May 30 12:50:57 PDT 2011


On May 30, 2011, at 3:55 AM, spfs wrote:

> like gcc and g++
>  
>  
> ------------------ 原始邮件 ------------------
> 发件人: "Nikola Smiljanic";
> 发送时间: 2011年5月30日(星期一) 下午5:07
> 收件人: "cfe-dev";
> 主题: [cfe-dev] Difference between clang and clang++
>  
> Hi all,
> 
> If somebody would explain the difference between clang and clang++. I downloaded 2.9 release and clang.exe and clang++.exe are identical files?

When you use "clang++" to link files, the C++ standard library is linked in.  That is the primary difference.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110530/a3b8ca60/attachment.html>


More information about the cfe-dev mailing list