This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Reducing size of SREC file
- From: Andrew Dyer <amdyer at gmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 29 Nov 2004 00:47:21 -0600
- Subject: Re: [ECOS] Reducing size of SREC file
- References: <20041129051252.72852.qmail@web10802.mail.yahoo.com>
- Reply-to: Andrew Dyer <amdyer at gmail dot com>
Since your message is short on details (hint hint) I'll take a guess -
you're just looking at file sizes from 'ls'.
file sizes from 'ls' don't reflect the size of the executable - s-records
are a text representation of binary data, so they are always "bigger"
than a format like elf, which is binary plus headers, and both s-records
and elf are larger than the actual binary image.
Running 'size' and "objdump --headers" on the exe file will give you
more info about the true size and locations of your code.
--
Hardware, n.:
The parts of a computer system that can be kicked.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss