[cfe-dev] RFC: Clang driver redesign

Konstantin Tokarev annulen at yandex.ru
Tue Nov 8 08:07:39 PST 2011


08.11.2011, 19:34, "Clark Gaebel" <cg.wowus.cg at gmail.com>:
> What's wrong with having a gcc compatibility layer for the driver which just translates from one option set to the other. I'm thinking of something like:
>
> clang-gcc [gcc options]
> clang-g++ [g++ options]
>
> clang [clang options]
> clang++ [clang++ options]
>
> If anything, the clang-gcc and clang-g++ could just be shell script wrappers around clang.

Using shell for argument conversion can introduce noticeable performance penalty.

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list