Problems with objcopy -O binary
hi
When I compile u-boot-0.3.0 then I have the following problem:
ppc_405-ld -g -Ttext 0x40000 -o sched -e sched sched.o libsyscall.a ppc_405-objcopy -O srec sched sched.srec
ppc_405-objcopy -O binary hello_world.srec hello_world.bin 2>/dev/null make[1]: *** [hello_world.bin] Error 1
make[1]: Leaving directory
`/home/bwoldert/bootloader/u-boot-0.3.0/examples'
make: *** [subdirs] Error 1
I found out:
ppc_405-objcopy -O binary hello_world.srec hello_world.bin
ppc_405-objcopy: Warning: Output file cannot represent architecture
UNKNOWN!
ppc_405-objcopy: hello_world.srec: Bad value
When I delete hello_world from the Makefile, then I have the same problem with examples/sched.c. I compile on a i386. What's wrong?
regards
Bogdan
Quoted 10 lines · In message <[email protected]> you wrote:
I found out:
ppc_405-objcopy -O binary hello_world.srec hello_world.bin
ppc_405-objcopy: Warning: Output file cannot represent architecture
UNKNOWN!
ppc_405-objcopy: hello_world.srec: Bad valueWhen I delete
hello_worldfrom theMakefile, then I have the same problem withexamples/sched.c. I compile on a i386. What's wrong?
Your toolchain is broken. It works fine with our ELDK.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de egrep patterns are full regular expressions; it uses a fast determi- nistic algorithm that sometimes needs exponential space. - unix manuals