<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi William,<br><div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Lucida Sans'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">This made it work:<br><br>-------------------------------------------------------------------------------------------------------------------<br>--- SConscript.orig<span class="Apple-tab-span" style="white-space: pre; ">        </span>2012-09-17 13:55:45.000000000 -0700<br>+++ SConscript<span class="Apple-tab-span" style="white-space: pre; ">        </span>2012-09-17 13:59:56.000000000 -0700<br>@@ -682,7 +682,7 @@<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if cc == 'clang':<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cxx = 'clang++'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else:<br>- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cxx = cc.replace('gcc', 'g++')<br>+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cxx = cc.replace('gcc', '/sw/bin/g++-4')<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if env_etc.compiler.endswith("4.2"):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if libtbx.env.build_options.enable_boost_threads:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;build_nb = libtbx.env_config.get_darwin_gcc_build_number(gcc=cxx)<br><br>-------------------------------------------------------------------------------------------------------------------<br></span></blockquote></div><br><div>well, sure enough! We should seriously think how to avoid the need for such hacks though. It's been on my todo list for ever to come with a mechanism to ease using non-standard compilers but it's never been important enough that I acted upon it.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Luc</div><div><br></div></body></html>