我的开发板CPU是2410。其实我只是编译自带的板子。 一直没有通过,有个网友说要用arm-linux-gcc-2.95.3. 我用了各种版本的都有这样的错误,请做过的同志指点一下。
pelican@debian:~/u-boot-1.1.4$ make smdk2410_config Configuring for smdk2410 board...
pelican@debian:~/u-boot-1.1.4$ make ARCH=arm make[1]: Entering directory `/home/pelican/u-boot-1.1.4/tools' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/pelican/u-boot-1.1.4/tools' make[1]: Entering directory `/home/pelican/u-boot-1.1.4/examples' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/pelican/u-boot-1.1.4/examples' make[1]: Entering directory `/home/pelican/u-boot-1.1.4/post' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/pelican/u-boot-1.1.4/post' make[1]: Entering directory `/home/pelican/u-boot-1.1.4/post/cpu' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/pelican/u-boot-1.1.4/post/cpu' make -C tools all make[1]: Entering directory `/home/pelican/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 `/home/pelican/u-boot-1.1.4/tools' make -C examples all make[1]: Entering directory `/home/pelican/u-boot-1.1.4/examples' /usr/local/arm/2.95.3/bin/arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/home/pelican/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/include -pipe -DCONFIG_ARM -D__ARM__ -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 `/home/pelican/u-boot-1.1.4/examples' make: *** [examples] Error 2
|