cd /opt
wget ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2
tar jxvf gmp-4.3.2.tar.bz2
mkdir /usr/local/gmp-4.3.2
cd /usr/local/gmp-4.3.2
/opt/gmp-4.3.2/configure -prefix=/usr/local/gmp-4.3.2
make
make install
安装MPFR
cd /opt
wget ftp://gcc.gnu.org/pub/gcc/infrastructure/mpfr-2.4.2.tar.bz2
tar jxvf mpfr-2.4.2.tar.bz2
mkdir /usr/local/mpfr-2.4.2
cd /usr/local/mpfr-2.4.2
/opt/mpfr-2.4.2/configure --prefix=/usr/local/mpfr-2.4.2 --with-gmp=/usr/local/gmp-4.3.2
make
make install
安装MPC0.8.1
cd /opt
wget ftp://gcc.gnu.org/pub/gcc/infrastructure/mpc-0.8.1.tar.gz
tar -zxf mpc-0.8.1.tar.gz
mkdir /usr/local/mpc-0.8.1
cd /usr/local/mpc-0.8.1
/opt/mpc-0.8.1/configure --prefix=/usr/local/mpc-0.8.1 --with-gmp=/usr/local/gmp-4.3.2 --with-mpfr=/us