<br><div class="gmail_quote">On Wed, Jan 13, 2010 at 8:33 PM, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;"><br><div><div>I'm using a Mac, so my ~/user-config.jam contains:</div><div><br></div><div><span style="white-space: pre;">      using darwin : 4.2.1 : clang++ ;</span></div><div><br></div>
<div>which basically treats Clang like GCC with a funny name. It isn't perfect, because bjam inspects the output of</div><div><br></div><div><span style="white-space: pre;">   </span>clang++ -dumpversion</div><div><br></div>
<div>and concludes that Clang is GCC 1.1 :)</div><div><br></div><div>On non-darwin platforms, something like</div><div><br></div><div><span style="white-space: pre;">        </span>using gcc : 4.2.1 : clang++ ;</div><div><br></div>
<div>should work.</div><div><br></div><div>That all assumes that clang++ is in your path; otherwise, use a full pathname.</div><div><br></div><div>Once we get more working, it's probably worth teaching bjam and Boost.Config about Clang. GCC emulation will only take us so far.</div>
<div><br></div></div></div></blockquote><div><br>Thanks Doug. I'll try to get it running.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;"><div><div></div><div>BTW, did you mean to send your message to the cfe-dev list as well? Others might want to use bjam with clang.</div><div><br></div></div></div></blockquote><div><br>
I'm afraid that I inadvertently did not send the message to the list. Sorry, <br><br></div></div>Kind regards,<br>Maurice<br><br>PS: I just filed another boost related bug report and I (optimistically) suspect that clang++ will be close to compiling <br>
100% of boost when the boost-bugs I submitted get fixed up. Maybe I need to try to fix one of them :)<br>