Various software sizes calculation

Leonard Bise leonard.bise at
Mon Oct 5 13:19:40 UTC 2009

Hello all,

The questions I have will probably seem quite trivial for most of you guys 
but I'm a novice in this domain so I'd like some help.

I'm using the RTEMS OS with a LEON2 processor and I need to find out the 
following sizes for the project :

RTEMS Stack Size
Total Variables Size
Static Data Structure Size
Application Code Size
RTEMS Code Size

I made some research but could not really find out how to find these 
number, all I know at the moment is that the .data segment of my program 
is 32'016 bytes, as I understand this the .data segment countain the 
global variables, is that correct? And .text is 221'760 bytes, that's the 
total code of my application so that'd be RTEMS + My Code, correct? But 
how can I find out the size of RTEMS and the other sizes in my list?

I hope someone can help me.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list