
I had ask for help yesterday,your opinion is helpfull. But I had another problem: When "make" It said:
................. ................. gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o strip bmp_logo ./bmp_logo logos/denx.bmp >/home/u-boot-1.1.3/include/bmp_logo.h /bin/sh: line 1: ./bmp_logo: cannot execute binary file make[1]: *** [/home/u-boot-1.1.3/include/bmp_logo.h] Error 126 make[1]: Leaving directory `/home/u-boot-1.1.3/tools' make: *** [tools] Error 2
Why?Can you tell me ?

Hi,
I had ask for help yesterday,your opinion is helpfull. But I had another problem: When "make" It said:
................. ................. gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o strip bmp_logo ./bmp_logo logos/denx.bmp >/home/u-boot-1.1.3/include/bmp_logo.h /bin/sh: line 1: ./bmp_logo: cannot execute binary file make[1]: *** [/home/u-boot-1.1.3/include/bmp_logo.h] Error 126 make[1]: Leaving directory `/home/u-boot-1.1.3/tools' make: *** [tools] Error 2
Why?Can you tell me ?
The "gcc" that is called from the Makefile obviously cannot compile programs for your platform (this must *not* be a cross-compiler). Find out why this is the case - "file bmp_logo" might be helpful here.
Cheers Detlev
participants (2)
-
clubet
-
Detlev Zundel