[cfe-dev] compiling clang with clang

Douglas Gregor dgregor at apple.com
Wed Sep 29 16:48:35 PDT 2010


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