This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem about GNU tool
- From: Gary Thomas <gthomas at redhat dot com>
- To: HuangQiang <jameshq at liverpool dot ac dot uk>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 11 Dec 2001 10:36:20 -0700
- Subject: Re: [ECOS] Problem about GNU tool
- References: <KIEBICHBADHFCLGCKOPDGECCCKAA.jameshq@liv.ac.uk>
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