制作交叉编译gcc时出错
2007-05-21 12:35
232 查看
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
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
相关文章推荐
- 手工制作arm-linux-gcc交叉编译工具链Binutils时可能会出现的makeinfo编译错误
- 使用uclibc的buildroot制作交叉编译工具链 ,arm-linux-gcc
- arm-linux-gcc 3.4.6 + linux 2.6.22.6交叉编译工具链制作
- arm-linu-gcc 4.2.1交叉编译工具链制作
- 全手工制作arm-linux交叉编译工具链 (Gcc 4.2.1 + Glibc 2.6.1 + Linux 2.6.22.6)《二》 作者:Garfield Trump
- Ubuntu10.04 交叉编译工具glibc2.3.6制作gcc版本过高问题
- 安装交叉编译工具出错,arm-linux-gcc: 没有那个文件或目录
- arm-linux-gcc交叉编译工具链的制作及使用
- 安装交叉调试器gdb,编译出错cc1: warnings being treated as errors
- 安装交叉调试器gdb,编译出错cc1: warnings being treated as errors
- [Linux]:crosstool制作arm-linux交叉编译工具链
- gcc 6.0编译opencv出错
- arm-linux-gcc交叉编译环境安装
- 全手工制作arm-linux交叉编译工具链《二》
- linaro gcc 交叉编译链编译
- Ubuntu 安装arm-linux-gcc交叉编译工具
- mipsel-linux-gcc 交叉编译libxml2
- 编译Linux3.16内核时出错说找不到includenux/compiler-gcc5.h
- mips64el-unknown-linux-gnu-gcc交叉编译ELF-64程序
- gcc 基本编译命令, 注意别出错