[cfe-dev] Difference between clang and clang++

Sean Hunt rideau3 at gmail.com
Mon May 30 02:19:14 PDT 2011


On 11-05-30 02:15 AM, John McCall wrote:
> On May 30, 2011, at 2:07 AM, Nikola Smiljanic wrote:
>> 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?
>
> Invoking the compiler as clang++ requests it to compile and link code as C++.  This typically only matters when linking object files, where it causes the C++ standard library to be linked in.
>
> I don't know why (or whether) these files are independent on disk;  on Unix-y platforms, clang++ is just a symlink.
>
> John.

They might be hard linked?

Sean



More information about the cfe-dev mailing list