SIZE(1) GNU Development Tools SIZE(1) (NAME) size - (SYNOPSIS) size [-A|-B|-G|--format=compatibility] [--help] [-d|-o|-x|--radix=number] [--common] [-t|--totals] [--target=bfdname] [-V|--version] [-f] [objfile...] (DESCRIPTION) GNU size objfile . ( ) . objfile... . "a.out" . (OPTIONS) : -A -B -G --format=compatibility GNU size System V size ( -A --format=sysv) Berkeley size ( -B --format=berkeley). Berkeley . GNU ( -G --format=gnu) Berkeley . Berkeley () size : $ size --format=Berkeley ranlib size text data bss dec hex filename 294880 81920 11592 388392 5ed28 ranlib 294880 81920 11888 388688 5ee50 size Berkeley "text" "data". "dec" "hex" "text" "data" "bss" . GNU "data" "text" "text" "data" "bss" "total" . --radix . GNU : $ size --format=GNU ranlib size text data bss total filename 279880 96920 11592 388392 ranlib 279880 96920 11888 388688 size System V : $ size --format=SysV ranlib size ranlib : section size addr .text 294880 8192 .data 81920 303104 .bss 11592 385024 Total 388392 size : section size addr .text 294880 8192 .data 81920 303104 .bss 11888 385024 Total 388688 --help -h -H -? . -d -o -x --radix=number (-d --radix=10) (-o --radix=8) (-x --radix=16) . --radix=number (8 10 16) . -d -x -o . --common (common symbols) . Berkeley GNU bss . -t --totals ( Berkeley GNU). --target=bfdname (object-code) objfile bfdname . size . -v -V --version size . -f . size GNU Binutils . @file file . @file . file . file (whitespace) . . ( ) . file @file . (SEE ALSO) ar(1) objdump(1) readelf(1) Info binutils. (COPYRIGHT) Copyright (c) 1991-2025 Free Software Foundation, Inc. / (GNU Free Documentation License) 1.3 . <> . binutils-2.45.1 2026-01-23 SIZE(1)