http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-04-30 11:55:06 UTC --- > This time have build 64 bit gmp and mpfr with ABI=64 @ --prefix path > /usr/local/ and tried to build gcc in 64 bit. but it gave this error > ELFCLASS64 > for libmpfr.so and libgmp.so See http://gcc.gnu.org/install/specific.html#sparc64-x-solaris2