After executing a size command I got the following output:
size main.out
text data bss dec hex filename
1207 552 8 1767 6e7 main.out
I understood the meaning of the text, the data and the bss segment.
What is the meaning of the dec and hex columns?
text gives you the size of the text segment (or code segment).
data gives you the size of the data segment.
bss gives you the size of the block started by symbol segment.
dec is the size of the text, data and bss size added together in decimal, and hex is the same number in hexadecimal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With