home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / ckdlnk.cli < prev    next >
Text File  |  2020-01-01  |  2KB  |  60 lines

  1. comment This file links together the Kermit modules into an executable program.
  2. comment File extensions have the usual meaning for the Data General, except
  3. comment that all files have been renamed to kermit.something.
  4. comment If you want to use the SWAT debugger, enter:
  5. comment   ckdlnk/debug
  6. comment
  7. comment Files output from this CLI macro are:
  8. comment   kermit.pr      Kermit program
  9. comment   kermit.er      Link error message file
  10. comment   kermit.st      Symbol table
  11. comment   kermit.dl      Debugger file if /debug is requested
  12. comment   kermit.ds      Debugger file if /debug is requested
  13. comment   kermit.lm      Map file if /map is requested
  14. comment
  15. comment The list of object modules to compile is in ckdsrc.lis .
  16. comment
  17. comment If you are building Kermit without support for outgoing
  18. comment Telnet sessions -- maybe because you are doing the build on a
  19. comment system that is not running AOS/VS II or AOS/VS II TCP/IP --
  20. comment you should remove :LIB:SOCKIT.LB from the call to ccl.
  21.  
  22. comment  It is assumed that the appropriate C compiler, linker, and libraries
  23. comment  can be found in :C.  If not, alter the following command as needed:
  24.  
  25. searchlist :c [!sea]
  26.  
  27. push
  28. prompt pop
  29.  
  30. comment Delete previous error file, and link a new program image
  31. delete/1=ig/2=ig ckdlnk.er
  32. delete/2=ignore ckdlnk.lm
  33.  
  34. wr; wr Executing link step CKDLNK.CLI...
  35. wr; wr REMEMBER TO UPDATE THE /REV= CLAUSE IN THIS FILE!
  36. wr If link step fails use fs +.er to find big compiler error files.
  37. wr If a source file doesn't compile, the kermit.er file will be huge
  38. wr because of unresolved references.
  39. wr; wr Also - if you get stack/heap space errors, increase the size here.
  40. wr; wr Now linking Kermit with options: {%/%}
  41. wr and 3 tasks; wr
  42.  
  43. ccl%/%/tasks=3/e==ckdlnk.er/l=ckdlnk.lm/xref/STACK=20000/HEAP=61440&
  44. /REV=00.07.195.00/MTOP=3 <[ckdsrc.lis]> :LIB:SOCKIT.LB
  45.  
  46. comment Delete the old program image and associated files, and 
  47. comment rename the new program files for Kermit.
  48.  
  49. DELETE/1=WARN/2=WARN kermit.<pr st>
  50. DELETE/1=IGNORE/2=IGNORE kermit.<dl ds er>
  51. [!neq [!path ckcmai.lm]x,x]
  52.    DELETE/1=IGNORE/2=IGNORE kermit.lm
  53. [!end]
  54. rename/1=IGNORE/2=IGNORE <ckcmai kermit>.(pr st dl ds lm)
  55. rename/1=IGNORE/2=IGNORE <ckdlnk kermit>.er
  56.  
  57. wr All Done -- Remember to fs +.er to see big error files.
  58. pop
  59.  
  60.