> Incidentally, I have to link with -lstdc++ explicitly since messing up > my installation (which has persisted through several complete > rebuilds). > How can I restore gcc to linking with libstdc++ automatically? Use g++ instead of gcc when linking. Regards, Martin