[U-Boot-Users] UBOOT COMPILATION

Carlos Coelho carlos.coelho at tasksistemas.com.br
Fri Jul 28 19:23:28 CEST 2006


Hi,

Thank you for the reply,

I did update my arm-linux-gcc version to 3.4.1 and the u-boot version to
1.1.4, but I got following error when I did type make:



make[1]: Entering directory `/root/uboot/u-boot-1.1.4/examples'
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float
  -D__KERNEL__ -DTEXT_BASE=0x21f00000 -I/root/uboot/u-boot-1.1.4/include -fno-builtin
 -ffreestanding -nostdinc -isystem
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/include -pipe  -DCONFIG_ARM -D__ARM__
 -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes -c -o hello_world.o
hello_world.c
cc1: error: invalid option `abi=apcs-gnu'
make[1]: *** [hello_world.o] Error 1
make[1]: Leaving directory `/root/uboot/u-boot-1.1.4/examples'
make: *** [examples] Error 2

Although I am using the newest u-boot version, it seems that the option
abi=apcs-gnu is not valid, it is not longer in use, is it true?


Regards,

Carlos


----- Original Message ----- 
From: "Wolfgang Denk" <wd at denx.de>
To: "Carlos Coelho" <carlos.coelho at tasksistemas.com.br>
Cc: <u-boot-users at lists.sourceforge.net>
Sent: Friday, July 28, 2006 11:05 AM
Subject: Re: [U-Boot-Users] UBOOT COMPILATION


> In message <001701c6b0e4$70aa2a30$7c01a8c0 at corp.tasksistemas.com.br> you 
> wrote:
>>
>>  I am trying to compile  u-boot.1.1.3,  I did the following commands:
> ...
>>  gcc version 2.95.3 20010315 (release)
>
> You are using very old (= obsolete) versions of both U-Boot and  your
> toolchain. Do yourself a favour and update both. Then try again.
>
> Best regards,
>
> Wolfgang Denk
>
> -- 
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Any technology distinguishable from magic is insufficiently advanced.
>





More information about the U-Boot mailing list