linux - Explanation of all columns in size command output? -


after executing size command got following output:

size main.out            text    data     bss     dec     hex filename          1207     552       8    1767     6e7 main.out 

i understood meaning of text, data , bss segment.

what meaning of dec , hex columns?

text gives size of text segment (or code segment).

data gives size of data segment.

bss gives size of block started symbol segment.

dec size of text, data , bss size added in decimal, , hex same number in hexadecimal.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -