[cfe-dev] compiling clang with clang

Douglas Gregor dgregor at apple.com
Thu Sep 30 06:52:07 PDT 2010



Sent from my iPhone

On Sep 30, 2010, at 5:16 AM, Ariel V Feinerman <arielfeinerman at gmail.com> wrote:

> If I use cmake,  
> 
> > --with-built-clang
> > --with-clang=/path/to/existing/clang
> 
> what is it to replace them?

I don't know if those tests can even be run from cmake. 
> 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/6eef1612/attachment.html>


More information about the cfe-dev mailing list