Ah, sadly that didn't work -- I tried with that flag, and got the following error. checking for -exported_symbols_list linker flag... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. I'm posting details of this in a new thread. Thanks very much for your advice. Doug. On 18 April 2011 21:04, doug livesey <biot023@xxxxxxxxx> wrote: > Recompile it is, then -- thankyou very much for pointing that out for > me, you've saved me countless hours of pain! :) > > On 18 April 2011 18:32, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: >> On 18 April 2011 17:29, doug livesey wrote: >>> Ah, no I didn't. Do you think I should recompile & reinstall with that enabled? >> >> Yes, I think that's necessary. You'll also want to rebuild Boost with >> the new compiler. >> >>> Also, are you able to tell me where how the system libraries are >>> compiled for Snow Leopard is documented, if they are? >> >> No, sorry, I only know about this particular issue as it's a fairly >> common gotcha: >> http://newartisans.com/2009/10/a-c-gotcha-on-snow-leopard/ >> https://trac.macports.org/ticket/22234 >> >> You could use 'g++ -v' on the default system compiler shipped with >> Xcode, but I don't know if that will show everything relevant. Changes >> such as enabling fully dynamic std::string might be made by changing >> the libstdc++ sources rather than via options to configure. >> >