- 论坛徽章:
- 0
|
.求助:交叉编译出错
求助:制作交叉编译出错了!
本人在制作交叉编译器,在编译GCC4.2.2是出错了,先前编译了binutils-2.18,因为感接触LINUX,还不太熟悉如何解决错误,希望大虾指点:
#../gcc-4.2.2/configure --target=arm-linux --prefix=$PREFIX --disable-shared --disable-threads --enable-languages=c --disable-libmudflap --with-newlib --with-binutils=$PREFIX/arm-linux/bin
出错的信息是:
**********************************
...
...
...
/arm-second-sdb/mycross-armlinux/build-tools/build-gcc/./gcc/as: line 2: exec: -o: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]
make[2]: *** [crtbegin.o] 閿欒? 1
make[2]: Leaving directory `/arm-second-sdb/mycross-armlinux/build-tools/build-gcc/gcc'
make[1]: *** [all-gcc] 閿欒? 2
make[1]: Leaving directory `/arm-second-sdb/mycross-armlinux/build-tools/build-gcc'
make: *** [all] 閿欒? 2
我在网上查找了一些资料,把几个--disable-******参数加上,减去,试了好几遍,还是出错。出错信息在附件中!
请帮帮忙!谢谢先! |
|