This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Executable Size


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]