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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -