[cfe-dev] compiling clang with clang

Matt Joiner anacrolix at gmail.com
Wed Sep 29 17:30:49 PDT 2010


Thanks!

On Thu, Sep 30, 2010 at 9:48 AM, Douglas Gregor <dgregor at apple.com> wrote:
>
> On Sep 29, 2010, at 4:31 PM, Matt Joiner wrote:
>
>> What's the proper way to instruct clang to build itself (assuming that
>> clang must already be built of course)?
>>
>> There are several options using ./configure, I'm not sure which is the
>> best approach:
>> --with-built-clang
>> --with-clang=/path/to/existing/clang
>
> These are for enabling testing with Clang.
>
>> CC=clang CXX=clang
>
> You want
>
>        CC=clang CXX=clang++
>
>        - Doug
>




More information about the cfe-dev mailing list