This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: Memory footprint
On Wed, May 10, 2006 at 09:53:42AM -0500, Grant Edwards wrote:
> >> what does arm-elf-size say?
> >
> > $ arm-elf-size.exe a.out
> > text data bss dec hex filename
> > 41920 1512 8028 51460 c904 a.out
> >
> > I suppose that this means the binary will be 51460Kb in size?
>
> That means the binary will require 43432 bytes of ROM
> (41920+1512) and 9540 bytes of RAM (8028+1512).
I suppose i should read the man page, but couldn't part of data be
rodata and so will not be copied to RAM at startup?
[Goes and reads the man page]
There is no mention of the rodata. Hum...
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss