On 10 August 2012 16:53, Andrew Haley wrote: > On 08/10/2012 04:44 PM, Elmar Krieger wrote: >> I downloaded the latest official GCC 4.7.1, but unfortunately configure >> stopped with "Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC >> 0.8.0+.", and for my CentOS Linux, only older versions of this libs are >> available as RPMs. > > Go into the top-level source directory of gcc, and run: > > ./contrib/download_prerequisites
See the http://gcc.gnu.org/wiki/InstallingGCC wiki page for more info (but not much more, it's rally not that hard.)