[U-Boot-Users] Compilation Error

Ajay Jain ajay050 at gmail.com
Tue Aug 8 09:25:43 CEST 2006


Hi,

I am taking u-boot to our own arm-based board. Prior to porting, I was
planning to sanitize my tool-chain and I picked up the following test
case.

U-boot version: 1.1.4
Target: arm
GCC: 3.4.1

Steps:
make mrproper
make lpd7a400_config
make dep

arm-linux-gcc -M -g  -Os   -fno-strict-aliasing  -fno-common
-ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0xc1fc0000
-I/home/ajain/u-boot-1.1.4/include -fno-builtin -ffreestanding
-nostdinc -isystem
/tools/gcc/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/include -pipe
-DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall
-Wstrict-prototypes cache_8xx.S cache.c codec.c cpu.c dsp.c ether.c
i2c.c memory.c post.c rtc.c spr.c sysmon.c tests.c uart.c usb.c
watchdog.c > .depend

cc1: error: invalid option `abi=apcs-gnu'
cc1: error: invalid option `abi=apcs-gnu'

As I understand, GCC does not support 'abi' option for arm. Where am I wrong?

Thanks & Regards,
Ajay




More information about the U-Boot mailing list