


size(1)               GNU Development Tools               size(1)



NAME
     size-list section sizes and total size.


SYNOPSIS
     size [-A|-B|+format _c_o_m_p_a_t_i_b_i_l_i_t_y] [+help]
          [-d|-o|-x|+radix _n_u_m_b_e_r] [+target _b_f_d_n_a_m_e]
          [-V|+version] _o_b_j_f_i_l_e_s...

DESCRIPTION
     The GNU size utility lists the section sizes-and  the  total
     size-for  each  of the object files _o_b_j_f_i_l_e_s in its argument
     list.  By default, one line of output is generated for  each
     object file or each module in an archive.


OPTIONS
     _o_b_j_f_i_l_e_s...
          The object files to be examined.


     -A

     -B

     +format _c_o_m_p_a_t_i_b_i_l_i_t_y
           Using one of these options, you can choose whether the
          output  from  GNU  size  resembles output from System V
          size (using `-A', or `+format sysv'), or Berkeley  size
          (using  `-B',  or  `+format berkeley').  The default is
          the one-line format similar to Berkeley's.


     +help
          Show a summary of acceptable arguments and options.


     -d

     -o

     -x

     +radix _n_u_m_b_e_r
           Using one of these options, you  can  control  whether
          the  size of each section is given in decimal (`-d', or
          `+radix 10'); octal (`-o', or `+radix 8');  or  hexade-
          cimal (`-x', or `+radix 16').  In `+radix _n_u_m_b_e_r', only
          the three values (8, 10, 16) are supported.  The  total
          size  is always given in two radices; decimal and hexa-
          decimal for `-d' or `-x' output, or octal  and  hexade-
          cimal if you're using `-o'.



cygnus support    Last change: 5 November 1991                  1






size(1)               GNU Development Tools               size(1)



     +target _b_f_d_n_a_m_e
           You can specify a particular  object-code  format  for
          _o_b_j_f_i_l_e_s  as  _b_f_d_n_a_m_e.  This may not be necessary; _s_i_z_e
          can  automatically  recognize   many   formats.     See
          objdump(1)  for  information  on listing available for-
          mats.


     -V

     +version
          Display version number information on size itself.


SEE ALSO
     `binutils' entry in info; _T_h_e _G_N_U _B_i_n_a_r_y  _U_t_i_l_i_t_i_e_s,  Roland
     H. Pesch (October 1991); ar(1), objdump(1).


COPYING
     Copyright (c) 1991 Free Software Foundation, Inc.

     Permission is granted to make and distribute verbatim copies
     of  this  manual provided the copyright notice and this per-
     mission notice are preserved on all copies.

     Permission is granted to copy and distribute  modified  ver-
     sions of this manual under the conditions for verbatim copy-
     ing, provided that the entire resulting derived work is dis-
     tributed under the terms of a permission notice identical to
     this one.

     Permission is granted to copy and distribute translations of
     this  manual  into  another language, under the above condi-
     tions for modified versions, except that this permission no-
     tice  may  be  included in translations approved by the Free
     Software Foundation instead of in the original English.


















cygnus support    Last change: 5 November 1991                  2



