size

SIZE(1)                      GNU Development Tools                     SIZE(1)



å称
       size - ã»ã¯ã·ã§ã³ãµã¤ãºã¨å¨ä½ã®ãµã¤ãºã表示ãã

æ¸å¼
       size [-A-B--format=compatibility]
            [--help]
            [-d-o-x--radix=number]
            [-t--totals]
            [--target=bfdname] [-V--version]
            [objfile...]

解説
       GNU ã® size ã¦ã¼ãã£ãªãã£ã¯ãå¼æ°ãªã¹ãä¸ã®åãªãã¸ã§ã¯ããã¡ã¤ã« objfile
       ã«å¯¾ãããã®ã»ã¯ã·ã§ã³ãµã¤ãº --- åã³å¨ä½ãµã¤ãº --- ã表示ãã¾ãã
       ããã©ã«ãã§ã¯ãåãªãã¸ã§ã¯ããã¡ã¤ã«ãªããã¢ã¼ã«ã¤ãä¸ã® åã¢ã¸ã¥ã¼ã«ãã¨ã« 1
       è¡ãã¤åºåãã¾ãã

       objfile... ã¯ãæ¤æ»å¯¾è±¡ã®ãªãã¸ã§ã¯ããã¡ã¤ã«ã§ãã ãªã«ãæå®ããªãã¨ã"a.out"
       ãã¡ã¤ã«ã使ç¨ããã¾ãã

ãªãã·ã§ã³
       ã³ãã³ãè¡ãªãã·ã§ã³ã¯æ¬¡ã®æå³ãæã¡ã¾ã:

       -A
       -B
       --format=compatibility
           ãããã®ãªãã·ã§ã³ã® 1 ã¤ãç¨ãã¦ãGNU size ã®åºåå½¢å¼ããSystem V ã® size
           å½¢å¼é¢¨ã«ãã ( -A å㯠--format=sysv ãç¨ãã) ããBerkeley ã® size
           å½¢å¼é¢¨ã«ãã ( -B å㯠--format=berkeley ãç¨ãã) ããé¸æãã¾ãã ããã©ã«ãã¯
           Berkeley å½¢å¼ã«ä¼¼ã 1 è¡ãã©ã¼ãããã§ãã

           次ã®ä¾ã¯ã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

           åããã¼ã¿ã§ããã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
           å©ç¨å¯è½ãªå¼æ°åã³ãªãã·ã§ã³ã®è¦ç´ã表示ãã¾ãã

       -d
       -o
       -x
       --radix=number
           ãããã®ãªãã·ã§ã³ã® 1 ã¤ãç¨ãã¦ãåã»ã¯ã·ã§ã³ã®ãµã¤ãºã 10 é²æ° (-d åã¯
           --radix 10)ã 8 é²æ° (-o å㯠--radix 8)ã 16 é²æ° (-x å㯠--radix 16)
           ã§è¡¨ç¤ºããããã«ãã¾ãã --radix=number å½¢å¼ã§ã¯ã3 種é¡ã®å¤ (8, 10,
           16) ã®ã¿ãµãã¼ãããã¦ãã¾ãã å¨ä½ãµã¤ãºã¯å¸¸ã« 2
           種é¡ã®åºæ°ã§è¡¨ç¤ºããã¾ãã -d å㯠-x ãæå®ããå ´å㯠10 é²æ°ã¨ 16 é²æ°ã
           -o ã®å ´å㯠8 é²æ°ã¨ 16 é²æ°ã§ãã

       -t
       --totals
           åæããåãªãã¸ã§ã¯ãã®ç·è¨ã表示ãã¾ã (Berkeley
           ãã©ã¼ãããã§ã®åæã¢ã¼ãã®ã¿)ã

       --target=bfdname
           objfile ã«å¯¾ããç¹å®ã®ãªãã¸ã§ã¯ãã³ã¼ããã©ã¼ããã bfdname
           ãæå®ãã¾ãããã®æå®ã¯å¿è¦ãªãããããã¾ããã size
           ã³ãã³ãã¯å¤ãã®ãã©ã¼ããããèªåçã«èªèãã¾ãã

       -V
       --version
           size ã®ãã¼ã¸ã§ã³çªå·æå ±ã表示ãã¾ãã

é¢é£é ç®
       ar(1), objdump(1), readelf(1), Info ã® binutils ã¨ã³ããªã

COPYRIGHT
       Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002,
       2003 Free Software Foundation, Inc.

       Permission is granted to copy, distribute and/or modify this document
       under the terms of the GNU Free Documentation License, Version 1.1 or
       any later version published by the Free Software Foundation; with no
       Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
       Texts.  A copy of the license is included in the section entitled ``GNU
       Free Documentation License''.



binutils-2.14.91                  2004-04-09                           SIZE(1)