home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / vms / 14557 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.5 KB

  1. Path: sparky!uunet!decwrl!sdd.hp.com!wupost!waikato.ac.nz!comp.vuw.ac.nz!zl2tnm!toyunix!don
  2. Newsgroups: comp.os.vms
  3. Subject: Re: Help with local command for C link
  4. Message-ID: <9486246@zl2tnm.gen.nz>
  5. From: don@zl2tnm.gen.nz (Don Stokes)
  6. Date: 3 Sep 92 10:15:06 GMT
  7. Sender: news@zl2tnm.gen.nz (GNEWS Version 2.0 news poster.)
  8. Distribution: world
  9. Organization: The Wolery
  10. Lines: 31
  11.  
  12. acm@nauvax.ucc.nau.edu writes:
  13. >    This fixes problems that DCL hacks introduce such as trying to get the
  14. > following command to link the correct files and produce to correct .EXE
  15. >   $ LINK /debug PROG1,SUB /EXE=PJ2,SUB2/NOSYSSHR,SYS$SYSTEM:SYS /STB/MAP /FULL
  16. >    A DCL command file that can correctly parse out the above line or similar
  17. > ones would indeed be a very creative work of art.
  18.  
  19. Ummm...
  20.  
  21. CLINK.COM:
  22. $ set symbol/scope=noglobal
  23. $ p1 = p1 - "%"
  24. $ link 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8' /options=SYS$INPUT:
  25. SYS$SHARE:VAXCRTL.EXE/SHARE
  26. $ exit
  27.  
  28. in SYLOGIN:
  29. $ LINK :== "@wherever:CLINK %'"    ! note trailing single quote
  30.  
  31. The limitations are: you can't use SYS$INPUT for an additional options 
  32. file and you can't have more than eight "parameters".  Note the "parameters"
  33. are defined as "things with spaces in between"; in most cases a bunch of
  34. comma separated files and a heap of qualifiers will actually appear as one
  35. parameter.
  36.  
  37. --
  38. Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
  39. Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
  40. Victoria University of Wellington, New Zealand              +64-4-495-5052
  41.