[cfe-dev] RFC: Integrating clang-cc functionality into clang (the driver)

Daniel Dunbar daniel at zuster.org
Mon Dec 7 09:30:05 PST 2009


On Sat, Dec 5, 2009 at 4:47 AM, Sebastian Redl
<sebastian.redl at getdesigned.at> wrote:
> Daniel Dunbar wrote:
>>
>> Hello again,
>>
>> This is (the disruptive part of) what is going to happen:
>>  1. clang will get the -cc1 mode, which will be equivalent to calling
>> clang-cc, and clang will recursively invoke itself (for now). clang
>> link will become very slow. :/
>>  2. All the tests are going to be rewritten to use 'clang -cc1'
>> instead of 'clang-cc'.
>>  3. clang-cc will be removed.
>>
>>
>
> This would be less disruptive if clang-cc became a symlink to clang, and
> being called as clang-cc would make it assume -cc1.

That is true, but I don't see why we would want to maintain clang-cc,
its just extra gunk in the build system and extra complexity for the
user. I'll do it if out-voted though.

 - Daniel




More information about the cfe-dev mailing list