制作交叉编译gcc时出错

来源:互联网 发布:炫酷网站源码 编辑:程序博客网 时间:2024/04/29 08:51
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... /mygod/arm/arm-linux/bin/strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-linux-gcc... /mygod/gcc-4.2.0/host-i686-pc-linux-gnu/gcc/xgcc -B/mygod/gcc-4.2.0/host-i686-pc-linux-gnu/gcc/ -B/mygod/arm/arm-linux/bin/ -B/mygod/arm/arm-linux/lib/ -isystem /mygod/arm/arm-linux/include -isystem /mygod/arm/arm-linux/sys-include
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libmudflap] 错误 1
make[1]: Leaving directory `/mygod/gcc-4.2.0'
make: *** [all] 错误 2

我的配置参数如下
./configure --target=arm-linux --prefix=/mygod/arm --disable-shared --disable-threads --disable-nls --with-newlib --enable-languages=c --without-headers --with-binutils=/mygod/arm/arm-linux/bin 
原创粉丝点击