
Hi folks:
When I am compiling the u-boot 1.1.1 for Versatile PB, a strange problem encounters.
#make versatile_config #make
gcc -Wall -pedantic -I../include -I.. -DTEXT_BASE=0x01000000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c gcc -Wall -pedantic -I../include -I.. -DTEXT_BASE=0x01000000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o strip bmp_logo ./bmp_logo logos/denx.bmp
/home/roc/bootloader/u-boot-1.1.1/include/bmp_logo.h
/bin/sh: line 1: ./bmp_logo: cannot execute binary file make[1]: *** [/home/roc/bootloader/u-boot-1.1.1/include/bmp_logo.h] Error 126 make[1]: Leaving directory `/home/roc/bootloader/u-boot-1.1.1/tools' make: *** [tools] Error 2
but I run #make again, the make process continue and the u-boot.bin runs ok on VPB.
The gcc version is arm-linux-gcc 3.3.2 with glibc 2.3.2. The same error will be there even using the arm-linux-gcc 2.95.3 with glibc 2.2.5.
I also try the arm-linux-gcc 3.4.0 with glibc 2.3.2, it will fail because the old command option "short-load-bytes". I know changing it to new option will be OK.
So I want to know which version of gcc is best for compiling the u-boot?
Thanks a lot Best Regards.
_________________________________________________________ Do You Yahoo!? 嫌邮箱太小?雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.h...