求助:交叉编译出错
求助:制作交叉编译出错了!本人在制作交叉编译器,在编译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
make: *** 閿欒? 1
make: Leaving directory `/arm-second-sdb/mycross-armlinux/build-tools/build-gcc/gcc'
make: *** 閿欒? 2
make: Leaving directory `/arm-second-sdb/mycross-armlinux/build-tools/build-gcc'
make: *** 閿欒? 2
我在网上查找了一些资料,把几个--disable-******参数加上,减去,试了好几遍,还是出错。
请帮帮忙!谢谢先!
页:
[1]