Society of Robots - Robot Forum

Software => Software => Topic started by: pomprocker on August 09, 2008, 08:31:47 PM

Title: Compiled Size After
Post by: pomprocker on August 09, 2008, 08:31:47 PM
Does anyone know how to read this?


Title: Re: Compiled Size After
Post by: Webbot on August 10, 2008, 02:52:32 PM
Here's my take:-

.data is the number of bytes taken up by 'global variables'
.text is the number of bytes taken up by your code
.bss is the number of space taken up by uninitialised/heap/stack space

not sure about the others
Title: Re: Compiled Size After
Post by: JesseWelling on August 10, 2008, 04:20:04 PM
To figure out how much my code and data takes up I always add up the hex file totals.
Here is an explanation that will show what values to add up. (http://en.wikipedia.org/wiki/.hex)
You could even create a script to do this but figuring out how the above output is read is probably a better idea.
Maybe ask on avr freaks?