[ECOS] Executable Size

Jonathan Larmour jlarmour@redhat.com
Thu May 31 11:26:00 GMT 2001


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/



More information about the Ecos-discuss mailing list