From: =?gb2312?q?Roc=20Wu?= Date: Wed, 9 Jun 2004 10:50:35 +0800 (CST) Subject: [U-Boot-Users] An error when I am compiling the u-boot 1.1.1 for VPB Message-ID: <20040609025035.93031.qmail@web15207.mail.bjs.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.html