u -boot 1.1.4 make出错了....

jn200002
u -boot 1.1.4 make出错了....

ot@localhost u-boot-1.1.4]# make smdk2410_config
Configuring for smdk2410 board...
[root@localhost u-boot-1.1.4]# make all ARCH=arm
make[1]: Entering directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/tools'
make[1]: Entering directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/examples'
make[1]: Entering directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/post'
make[1]: Entering directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/post/cpu'
make -C tools all
make[1]: Entering directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/tools'
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c envcrc.c
gcc -g  -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -c environment.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC
-O -o envcrc envcrc.o crc32.o environment.o
make[1]: Leaving directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/tools'
make -C examples all
make[1]: Entering directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/examples'
gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/opt/FriendlyARM/QQ2440/u-boot-1.1.4/include
-fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include -pipe  -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
cc1: invalid option `abi=apcs-gnu'
make[1]: *** [hello_world.o] Error 1
make[1]: Leaving directory `/opt/FriendlyARM/QQ2440/u-boot-1.1.4/examples'
make: *** [examples] Error 2
GCC 3.4.1  或 2.95.3 都试了... 错误一样 谁帮帮忙啊 谢谢.

crook
应该用 arml-linux-gcc

export CROSS_COMPILR=/path/to/arm-linux-
你机器上安装交叉编译器没?

[url]http://www.linuxfans.org/bbs/thread-182694-1-1.html[/url]