[cfe-dev] compiling clang with clang

Ariel V Feinerman arielfeinerman at gmail.com
Thu Sep 30 05:16:42 PDT 2010


If I use cmake,

> --with-built-clang
> --with-clang=/path/to/existing/clang

what is it to replace them?

On Thu, Sep 30, 2010 at 2: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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



-- 
best regards
Ariel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100930/b467b356/attachment.html>


More information about the cfe-dev mailing list