http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-30 11:49:23 UTC --- No need to re-run the original setup, the problem is obviously that /els/install/biru/local/gmp_64 and /els/install/biru/local/mpfr_64 are not in the runtime linker's path, this is a FAQ: http://gcc.gnu.org/wiki/FAQ#configure_suffix Do not edit the configure script, that's not the right way to fix user error. You should probably read http://gcc.gnu.org/wiki/InstallingGCC (and read the whole page!) That provides an extremely simple recipe for building GCC without installing GMP and MPFR, and ensures you will build them with the correct architecture. You cannot build GCC 4.4 as a 64-bit binary, that is not possible. But by default on GCC on Solaris is able to generate both 32-bit and 64-bit output (by using the -m64 option), you don't need to do anything special to enable that.