mpc-0.9编译方法

解压源代码至mpc-0.9

mkdir mpc-0.9-out

cd mpc-0.9-out

 ../mpc-0.9/configure --prefix=/home/musictom/mpc-0.9-install --with-gmp=/home/musictom/gmp-5.0.5-install --with-mpfr=/home/musictom/mpfr-3.1.0-install

make

make install
如果要让库在arm机器上能运行,要加上

--host=arm-eabi选项

你可能感兴趣的:(方法)