当前位置: 技术问答>linux和unix
自己编译工具链时,遇到问题,大家帮下忙。。~~
来源: 互联网 发布时间:2017-02-13
本文导语: mkdir libgcc if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /home/xiaowenhuman/armlinux/build-tools/build-gcc/gcc/xgcc -B/home/xiaowenhuman/armlinux/build-tools/build-gcc/gcc/ -B/home/xiaowenhuman/armlinux/tools/arm-linux/bin/ -B/home/xiaowenhuman/armlinux/tools/arm-linux/l...
mkdir libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/xiaowenhuman/armlinux/build-tools/build-gcc/gcc/xgcc -B/home/xiaowenhuman/armlinux/build-tools/build-gcc/gcc/ -B/home/xiaowenhuman/armlinux/tools/arm-linux/bin/ -B/home/xiaowenhuman/armlinux/tools/arm-linux/lib/ -isystem /home/xiaowenhuman/armlinux/tools/arm-linux/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fomit-frame-pointer -fPIC -Dinhibit_libc -D__gthr_ posix_h -g0 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.3.6/gcc -I../../gcc-3.3.6/gcc/. -I../../gcc-3.3.6/gcc/config -I../../gcc-3.3.6/gcc/../include -DL_udivsi3 -xassembler-with-cpp -c ../../gcc-3.3.6/gcc/config/arm/lib1funcs.asm -o libgcc/./_udivsi3.o
xgcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [libgcc/./_udivsi3.o] 错误 1
make[2]: Leaving directory `/home/xiaowenhuman/armlinux/build-tools/build-gcc/gcc'
make[1]: *** [libgcc.a] 错误 2
make[1]: Leaving directory `/home/xiaowenhuman/armlinux/build-tools/build-gcc/gcc'
make: *** [all-gcc] 错误 2
我在搭建交叉编译工具时遇到的错误,我用的是gcc-3.3.6.tar,在make时,遇到上述错误。大侠们能告诉我为什么吗?
|