shinian 发表于 2008-4-2 21:15:52

交叉编译出错,求助!

编译gcc时:
执行make和make install 时出现以下错误:
xgcc:cannot specify -o with -c or -s and multiple comp:lations
make:*** error 1
make:leaving directory /dzl/armlinux/build-tools/build-gcc/gcc'
make:*** error 2
make: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

这是为什么呢?
各位大虾帮帮忙啊!

braveeagle 发表于 2008-4-10 09:35:52

换个新版本GCC试试

austin516 发表于 2008-5-1 22:25:10

应该是

gcc的版本低了
页: [1]
查看完整版本: 交叉编译出错,求助!