摘要: 解压源代码至mpc-0.9mkdir mpc-0.9-outcd 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-installmakemake install如果要让库在arm机器上能运行,要加上--host=arm-eabi选项 阅读全文
posted @ 2012-07-14 21:19 袁晓平 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 解压源代码至mpfr-3.1.0mkdir mpfr-3.1.0-out../mpfr-3.1.0/configure --prefix=/home/musictom/mpfr-3.1.0-install --with-gmp=/home/musictom/gmp-5.0.5-installmakemake install 阅读全文
posted @ 2012-07-14 21:07 袁晓平 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1、解压源代码至gmp-5.0.52、mkdir gmp-5.0.5-out3、cd gmp-5.0.5-outCPPFLAGS=-fexceptions ../gmp-5.0.5/configure--enable-cxx --prefix=/usr/localmakemake installmake check 阅读全文
posted @ 2012-07-14 20:55 袁晓平 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 最近想自己编译出arm的gcc,其中必须的一步是必须编译binutils,所以尝试了一下,步骤如下:1、安装cygwin,选择gcc及libiconv库,安装,不要用mingw的编译器编译,我查了下,好象mingw里是没有fcntl.h的,所以编时会报错的,可以用gcc -v查看编译器的信息2、解压binutils-2.223、mkdir binutils-2.22-arm-unknown-eabi-outcd binutils-2.22-arm-unknown-eabi-out../binutils-2.22/configure --prefix=/home/musictom/binutil 阅读全文
posted @ 2012-07-14 18:18 袁晓平 阅读(1343) 评论(0) 推荐(0) 编辑