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