

            link (1) --- build Ratfor linkage declaration            08/27/84


          | _U_s_a_g_e

                 link [-{f | m}] {-n<filename> | <filename>}


            _D_e_s_c_r_i_p_t_i_o_n

                 'Link'  creates  a llliiinnnkkkaaagggeee statement for the files specified
                 as arguments in the command line.  An identifier needs to be
                 in a llliiinnnkkkaaagggeee statement if it is longer than  six  characters
                 and it meets one of the following conditions:

                       1) The identifier is in an external statement.
                       2) The identifier is the name of a named common block.
                       3) The identifier is a subroutine name.
                       4) The identifier is a function name.

                 The  llliiinnnkkkaaagggeee  statement  produced  by  'link'  includes  all
                 identifiers which are of one of the four types above, regar-
                 dless  of  the  number  of  characters  in  the  identifier.
                 Because  of this, 'link' creates a list of all external sym-
                 bols for the modules of a given program as well as a llliiinnnkkkaaagggeee
                 statement.

                 The following options are available:


                      f    Suppress   automatic   inclusion    of    standard
                           definitions   file.   Macro  definitions  for  the
                           manifest constants used throughout  the  Subsystem
                           reside  in  the  file  "=incl=/swt_def.r.i".  'Rp'
                           will  process  these  definitions   automatically,
                           unless the "-f" option is specified.

                      m    Map  all  identifiers  to  lower  case.  When this
                           option is selected,  'link'  considers  the  upper
                           case letters equivalent to the corresponding lower
                           case letters, except inside quoted strings.

                      n    Read  file  names  from an input file until EOF is
                           reached.  'link' observes the  convention  that  a
                           "-n"  argument  implies  that file names are to be
                           read from an input  file  until  EOF  is  reached,
                           rather  than  simply from the argument list.  "-n"
                           implies the standard  port  STDIN,  "-n2"  implies
                           STDIN2,  "-n3"  implies  STDIN3,  and "-nfilename"
                           implies the named file.

                 The remainder  of  the  command  line  is  used  to  specify
                 filenames  which  are part of the program for which the llliiinnn-
                 kkkaaagggeee statement is being created.


            _E_x_a_m_p_l_e_s

                 link -nrpfiles


            link (1)                      - 1 -                      link (1)




            link (1) --- build Ratfor linkage declaration            08/27/84


                 link xref.r xref.sort xref.out


            _F_i_l_e_s

                 =temp=/tm?* for internal temporaries
                 =incl=/swt_def.r.i for standard Subsystem macro definitions


            _M_e_s_s_a_g_e_s

          |      See the _U_s_e_r_'_s _G_u_i_d_e _f_o_r _t_h_e _R_a_t_f_o_r  _P_r_e_p_r_o_c_e_s_s_o_r  for  more
                 information on linkage statements.


            _S_e_e _A_l_s_o

                 rp (1), sep (1), gfnarg (2)








































            link (1)                      - 2 -                      link (1)


