Inside the gcc directory, do this command:
./contrib/download_prerequisites
After that script, GMP, MPFR, and MPC will be ready to use. Continue with ./configure.
Inside the gcc directory, do this command:
./contrib/download_prerequisites
After that script, GMP, MPFR, and MPC will be ready to use. Continue with ./configure.