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

Konstantin Tokarev annulen at yandex.ru
Mon May 30 04:44:38 PDT 2011



30.05.2011, 15:01, "Nikola Smiljanic" <popizdeh at gmail.com>:
> On Mon, May 30, 2011 at 11:47 AM, Konstantin Tokarev <annulen at yandex.ru> wrote:
>> Driver activates C++ mode depending on executable name
>
> How can it do this if the files are identical? 

But argv[0] is not :)

>And if clang++ is only a symlink that would mean that one executable contains all the functionality?

Right.

>If this is the case, what is the reason behind two names?

For convenience and compatibility with compilers like gcc/g++.


-- 
Regards,
Konstantin



More information about the cfe-dev mailing list