This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem about GNU tool


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]