1、解压源代码至gmp-5.0.5
2、mkdir gmp-5.0.5-out
3、cd gmp-5.0.5-out
CPPFLAGS=-fexceptions ../gmp-5.0.5/configure --enable-cxx --prefix=/usr/local
make
make install
make check