This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Executable Size
- To: Carlos Camargo <carlos_ivan_camargo at yahoo dot com>
- Subject: Re: [ECOS] Executable Size
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 31 May 2001 19:26:44 +0100
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <20010531174541.55072.qmail@web14001.mail.yahoo.com>
Carlos Camargo wrote:
>
> text data bss dec hex filename
> 45880 1956 23544 71380 116d4 twothreads
>
> But, i don`t understand this information, when i use
> man size donīt provide information about this format
Try "info size" which is a little bit better.
But basically, text==code, and data+bss==your program data. This totals
71380 bytes in this case (rather large for such a simple case, but easily
reduced by tailoring your eCos configuration if you choose).
For a program programmed into ROM/Flash, you would find the total ROM usage
to be text+data, and the total RAM usage to be data+bss.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/