http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54304
--- Comment #8 from Tobias Schlüter <tobi at gcc dot gnu.org> 2012-08-17 19:38:54 UTC --- Sorry, didn't mean to hit "Save Changes" yet. In the past I had to configure with ../configure --with-libiconv-prefix=/opt/local --enable-languages=fortran because otherwise the build breaks with iconv issues (also something you find all over google). And now I see why you asked: this of course puts the system gmp etc in the search path ahead of the ones built in-tree. Not a desirable state admittedly.