Hi William,

This made it work:

-------------------------------------------------------------------------------------------------------------------
--- SConscript.orig 2012-09-17 13:55:45.000000000 -0700
+++ SConscript 2012-09-17 13:59:56.000000000 -0700
@@ -682,7 +682,7 @@
      if cc == 'clang':
        cxx = 'clang++'
      else:
-        cxx = cc.replace('gcc', 'g++')
+        cxx = cc.replace('gcc', '/sw/bin/g++-4')
        if env_etc.compiler.endswith("4.2"):
          if libtbx.env.build_options.enable_boost_threads:
            build_nb = libtbx.env_config.get_darwin_gcc_build_number(gcc=cxx)

-------------------------------------------------------------------------------------------------------------------

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.

Best wishes,

Luc