Author Topic: Compiled Size After  (Read 2420 times)

0 Members and 1 Guest are viewing this topic.

Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
Compiled Size After
« on: August 09, 2008, 08:31:47 PM »
Does anyone know how to read this?



Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: Compiled Size After
« Reply #1 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
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline JesseWelling

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 707
  • Helpful? 0
  • Only You Can Build A Robot!
Re: Compiled Size After
« Reply #2 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.
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?
« Last Edit: August 10, 2008, 04:20:58 PM by JesseWelling »