[cfe-dev] "gcc compatible driver" internals

Konstantin Tokarev annulen at yandex.ru
Wed Mar 30 13:02:02 PDT 2011


Hi all,

I'm trying to understand how does Clang driver work when executed in "gcc compatible mode".
More specifically, I'm interested where CompilerInstance is created when Clang (not GCC or
some other compiler) is actually used for compilation.

After investigation I've come to conclusion that "clang" executable should call itself once again
as external process, this time in cc1 mode. Is it really so?

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list