[U-Boot-Users] Re: Could somebody help me

Catalin Marinas catalin.marinas at arm.com
Fri Jun 3 13:43:06 CEST 2005


刘涛 <cntaor at gmail.com> wrote:
> I use SCB9328 like board.I got the error blow when I make u-boot use
> the make command
>
>
>     arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8
>     -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x08f00000
>     -I/home/arm/src/u-boot-1.1.2/include -fno-builtin -ffreestanding
>     -nostdinc -isystem
>     /home/arm/crosstool/arm-linux/gcc-3.4.3-glibc-2.3.3/lib/gcc/arm-linux/3.4.3/include
>     -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall
>     -Wstrict-prototypes -c -o stubs.o stubs.c
>     cc1: error: invalid option `short-load-bytes'
>     make[1]: *** [stubs.o] error 1
>     make[1]: Leaving directory `/home/arm/src/u-boot-1.1.2/examples'
>     make: *** [examples] error 2

-mshort-load-bytes is no longer available in the compiler you use
(gcc-2.4.0 or newer). You can use -malignment-traps instead.

-- 
Catalin





More information about the U-Boot mailing list