Name
size
Synopsis
size [options] [objfile...]Print the number of bytes of each section of objfile and its total size. If objfile is not specified, a.out is used.
Options
- -d
Display the size in decimal and hexadecimal.
- --format= format
Imitate the size command from either System V (--format sysv) or BSD (--format berkeley).
- --help
Print help message, then exit.
- -o
Display the size in octal and hexadecimal.
- --radix= num
Specify how to display the size: in hexadecimal and decimal (if num is 10 or 16) or hexadecimal and octal (if num is 8).
- -t, --totals
Show object totals. Works only with Berkeley format listings.
- --target= bfdname
Specify object format by binary file descriptor name. Use -h for a list of supported object formats.
- -x
Display the size in hexadecimal and decimal.
- -A
Imitate System V’s size command.
- -B
Imitate BSD’s size command.
- -V, --version
Print version, then exit.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access