

     LD                          01-NOV-80                          LD


     NAME
        
        ld - loader
        
     SYNOPSIS
        
        ld [-l[libname]] [-ptaskname] name ...
        
     DESCRIPTION
        
        ld  links  together  the  named  modules  in  the order given,
        searches the system libraries to resolve global references and
        generates an executable process.
        
        ld understands two flags:
        
        -l signifies that the filename concatenated to the flag  is  a
           library  name.   -l  alone  stands  for  the  ratfor system
           library, rlib.  The default extension for a library file is
           '.olb'.   A  library  is  searched   when   its   name   is
           encountered, so the placement of -l is significant.  If the
           ratfor  system  library  is not explicitly mentioned, it is
           searched after all  other  files  have  been  linked.   The
           fortran system library is searched at the very end.
           
        -p signifies that the file name concatenated to the flag is to
           be  the process name.  If this option is not specified, the
           process name is determined in one of two ways:
           
           1. The first non-library file name (eg. roff.o)  is  found,
              and   the   file's   extension  is  replaced  by  '.tsk'
              (roff.tsk).  This is then the resulting process name.
              
           2. Failing  1  (implying  that  all  files  listed  in  the
              argument  list  are  libraries),  the  process  image is
              placed on  the  file  a.out,  overwriting  the  previous
              contents of that file.
              
     AUTHOR
        
        Joe Sventek wrote the interface of ld to the DEC task builder.
        
     BUGS
        
        The creation of the process on a.out is not yet implemented.










                                    -1-                               

