home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpmhelp / link.hlp < prev    next >
Text File  |  1994-07-27  |  3KB  |  84 lines

  1. Linker for Microsoft/Cromemco Products
  2. Command Line
  3. Switches
  4. Error Messages
  5. :LINK:
  6.         The linker is used to link assembled, Compiled programs modules
  7. together, load them into memory, and begin execution if desired.  The
  8. program modules can come from different sources  Some of the sources are
  9.           BASCOM
  10.           COBOL
  11.           FORTRAN
  12.           ASSEMBLER
  13.           RPG
  14.           
  15. :LINK:
  16.     The format for the involk of Linker is
  17.  
  18.  
  19.    LINK <filename1.ext/s,filename2.ext/s,....>
  20.  
  21.     where   filename stands for   Disk drive letter followed by a colon
  22.                      followed by the absolute file name
  23.  
  24.             ext  is used if the module extension is different than .rel
  25.             
  26.             /s   stands for switch options.
  27.   EXAMPLE of a link
  28.  
  29.      LINK MAIN,FORLIB/S,MAIN/N/G/E
  30.  
  31.       The first MAIN is the name of the module from the fortran compiler
  32.       The FORLIB/S  is the library of standard fortran routines that will
  33.            be selected
  34.       The MAIN/N/G/E  means to name the .COM file MAIN and to save it on
  35.            current disk then execute MAIN automatically.
  36.  
  37. :LINK:
  38.                           SWITCH OPTIONS
  39.  
  40.     Each switch option is preceded by a /
  41.  
  42.     E ....  Exit to operating system
  43.     
  44.     G ....  Go   start execution
  45.           Start execution of the program as soon as the current command
  46.           line has been interpreted.
  47.  
  48.     M ....  Map all symbols
  49.           List both all the defined globals and their values and all 
  50.           undefined globals followed by an asterisk.
  51.  
  52.     R ....  Reset the linker
  53.           Puts the linker back to its initial state.   the /R is used
  54.           to restart LINK if the wrong file was loaded by mistake.
  55.  
  56.     S ....  Search file
  57.           Search the disk file having the filename immediately preceding
  58.           the /S in the command string, to satisfy any undefined globals.
  59.           This is convenient for having the linker search a library file
  60.           of musch-used routines.
  61.  
  62.     U ....  List all undefined globals
  63.           List all undefined globals as soon as the current command line
  64.           has been interpreted and executed.  Link defaults to this 
  65.           switch; therefore it is generally not needed.
  66. :LINK:
  67.                  ERRORS
  68.  
  69.    No start address       a /G is issued but no main program module
  70.                           has been loaded.
  71.  
  72.    Loading error          The file given is not a properly formatted
  73.                           link object file.
  74.  
  75.    Fatal Table Collision  There is not enough memory
  76.  
  77.    Command error          Unrecognizable link command
  78.  
  79.    File not found         Specified file not on specified disk
  80.  
  81.    mult def global        More than one definition of the global name
  82.                           (possibly wrong modules combined)
  83. :LINK:
  84.