[ECOS] Problem about GNU tool

Gary Thomas gthomas@redhat.com
Tue Dec 11 09:37:00 GMT 2001


On Tue, 2001-12-11 at 10:15, HuangQiang wrote:
> Hi all:
>    I have cross-platform development tools for ARM built.
> 
> [a.out ( the app output from arm-elf-gcc)]
> 
> I tried the following command:
> 
> arm-elf-objcopy -O binary a.out b
> // got binary file b
> 
> arm-elf-size b
> 
> output: File format not recognized.
> 
> (Is that binary file format is support by all the GNU tools? why it is all
> right in arm-elf-objcopoy while not in arm-elf-size?)

You've removed all structural information from your file, thus the tools
can't process it since they only work on ELF images.

> 
> BTW what I am trying to do is to see the section size of the final output
> binary file, to see whether it is ok to be put into rom (size problem).)

ls -l



More information about the Ecos-discuss mailing list