[cfe-dev] Fwd: clang vs boost
dgregor at apple.com
Wed Jan 13 14:54:21 CST 2010
FYI, here are the instructions I sent to Maurice about teaching bjam
to use Clang.
Begin forwarded message:
> From: Douglas Gregor <dgregor at apple.com>
> Date: January 13, 2010 11:33:00 AM PST
> To: Maurice Gittens <mainmanmauricio at gmail.com>
> Subject: Re: [cfe-dev] clang vs boost
> On Jan 13, 2010, at 12:41 AM, Maurice Gittens wrote:
>> On Tue, Jan 12, 2010 at 11:15 PM, Douglas Gregor
>> <dgregor at apple.com> wrote:
>> Very cool. Just for kicks, I ran the testsuite for Boost.MPL, and
>> we're passing all but 4 tests there. Not bad!
>> To tackle Boost, it's worth starting with the regression tests for
>> the lowest-level libraries and working upward. We're not going to
>> get it all in one shot, and it's best to grow the set of libraries
>> that works over time.
>> Mind giving a few hints on how you convinced the boost build system
>> to use the clang++?
>> The Boost Jam stuff is foreign to me.
> I'm using a Mac, so my ~/user-config.jam contains:
> using darwin : 4.2.1 : clang++ ;
> which basically treats Clang like GCC with a funny name. It isn't
> perfect, because bjam inspects the output of
> clang++ -dumpversion
> and concludes that Clang is GCC 1.1 :)
> On non-darwin platforms, something like
> using gcc : 4.2.1 : clang++ ;
> should work.
> That all assumes that clang++ is in your path; otherwise, use a full
> Once we get more working, it's probably worth teaching bjam and
> Boost.Config about Clang. GCC emulation will only take us so far.
> BTW, did you mean to send your message to the cfe-dev list as well?
> Others might want to use bjam with clang.
> - Doug
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev