[U-Boot-Users] Compilation Error

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

Ajay Jain ha scritto:
cc1: error: invalid option `abi=apcs-gnu'
As I understand, GCC does not support 'abi' option for arm. Where am I wrong?
See the following thread http://sourceforge.net/mailarchive/message.php?msg_id=13321341
-Paolo

In message b92b327b0608080025h30f175b0i5bc3ae7c51a7d0d1@mail.gmail.com you wrote:
U-boot version: 1.1.4
...
As I understand, GCC does not support 'abi' option for arm. Where am I wrong?
Please use current code (top of git tree).
Best regards,
Wolfgang Denk
participants (3)
-
Ajay Jain
-
Paolo Broggini
-
Wolfgang Denk