QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1909|回复: 2

交叉编译出错,求助!

[复制链接]
发表于 2008-4-2 21:15:52 | 显示全部楼层 |阅读模式
编译gcc时:
执行make和make install 时出现以下错误:
xgcc:cannot specify -o with -c or -s and multiple comp:lations
make[2]:*** [libgcc/./_udivsi3.0] error 1
make[2]:leaving directory /dzl/armlinux/build-tools/build-gcc/gcc'
make[1]:***[libgcc.a] error 2
make[1]:leaving directory /dzl/armlinux/build-tools/build-gcc/gcc'

编译glibc时:
执行#CC=arm-linux-gcc ../glibc-2.3.2/configure --host=arm-linux --prefix="/usr" --enable-add-ons  --with-heads=/dzl/armlinux/tools/arm-linux时,出现以下错误:
configure: error:
***These critical programs are missing or too old :gcc
***Check the INSTALL file for required versions

这是为什么呢?
各位大虾帮帮忙啊!
发表于 2008-4-10 09:35:52 | 显示全部楼层

换个新版本GCC试试
回复

使用道具 举报

发表于 2008-5-1 22:25:10 | 显示全部楼层

应该是

gcc的版本低了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-25 15:33 , Processed in 0.046932 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表