Trailing-Edge
-
PDP-10 Archives
-
ap-c796e-sb
-
link.ctl
There are 46 other files named link.ctl in the archive. Click here to see a list.
;Job%4(765) to make LINK 4
;Submit with command .SUBMIT LINK/RESTART:1/TIME:1::/OUTPUT:0
;
;
;
;This control file is provided for information purposes only.
;The purpose of the file is to document the procedures used
;to build the distributed software. It is unlikely to be
;able to be executed without modification on other systems.
;In particular, attention should be given to ersatz devices
;and structure names, PPN's and other such system parameters.
;Submit times may vary depending on configuration and load.
;The availability of sufficient disk space and core is
;mandatory. This control file has not been extensively
;tested on alternate configurations. It has been used
;successfully for the purpose for which it is intended: to
;build the distributed software.
;
;
;
;This version of the control file expects:
;All LINK sources, CMD and CCL files on SELF:
;All other files on DEC:
;
;
; This control file is submitted 3 times. The first time
; the field image software MACRO v52 and LINK 3a from DEC:
; is used. The other submissions use the newly created MACRO v54
; and LINK v4. The EXE files from each submission are compared
; later. The comparison is done by submitting EXECOM.CTL
;
;
;
;Optional Switches:
; /NOVER SOURCE VERSIONS NOT RECORDED
; DEFAULT: SOURCE VERSIONS RECORDED
; /CREF LINK-10 CREF FILES PRODUCED
; DEFAULT: NO LINK-10 CREF FILES PRODUCED
; /NOLNK LINK-10 .EXE AND .MAP FILES NOT PRODUCED. LINK-10
; .REL AND .UNV FILES PRESERVED.
; DEFAULT: LINK-10 .EXE AND .MAP FILES PRODUCED. ALL TEMPORARY
; FILES DELETED.
; /NOEXE NO .EXE FILES CREATED
; DEFAULT: .EXE FILES CREATED IF POSSIBLE, BUT NO ERROR IF CAN'T
;
;A FILE LINK.INI IS SEARCHED FOR THESE SWITCHES. IF THEY DO NOT
;OCCUR, OR IF THE FILE LINK.INI IS NOT PRESENT, THE DEFAULT PATHS
;ARE TAKEN.
;
;
;Required files (latest released versions):
;
;DEC: PIP.EXE
; MACRO.EXE
; COMPIL.EXE
; DIRECT.EXE
; TECO.EXE
; FILCOM.EXE
; LINK.EXE
; LNK???.EXE
; C.UNV
; SCNMAC.UNV
; UUOSYM.UNV
; JOBDAT.REL
; SCAN.REL
; HELPER.REL
;DSK: LNK???.MAC
; LNK???.CMD,LNC???.CCL
; PLT???.MAC
; OVRLAY.MAC
; LINK.INI (ONLY IF USER WISHES TO SPECIFY .CTL FILE OPTIONS)
; LINK.CTL
;
;OUTPUT FILES:
; LINK.EXE [.EXE FILES OPTIONAL]
; LNKSCN.EXE
; LNKLOD.EXE
; LNKMAP.EXE
; LNKXIT.EXE
; LNKERR.EXE
; LNK999.EXE
; LNKOV1.EXE
; LNKOV2.EXE
; OVRLAY.REL
;
;OUTPUT LISTINGS:
; LINK. MAP
; LNK???.MAP
; LNK???.CRF [OPTIONAL]
; OVRLAY.CRF,PLT???.CRF (IF OVERLAY VERSION) [OPTIONAL]
; LINK.LOG
;
;
.MOUNT LINK:
.R SETSRC
*C LINK,*
;
;
;
SETUP::
.CHKPNT SETUP
;
;MAKE A RECORD OF WHAT IS BEING USED
.SET WATCH VERSION
.IF (ERROR) ;TOO BAD
;
;
;USE FIELD IMAGE SOFTWARE
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.GOTO ASSM0
.CHKPNT ASSEM
ASSEM::
.SET WATCH VERSION
;
;JUST IN CASE WE HAVE RESTARTED, DELETE LINK-10 REL FILES
.DELETE LNK???.REL,PLT???.REL,OVRLAY.REL,PLTPRM.UNV,FORMSC.UNV,LNK???.UNV
;
.R DIRECT
*TTY:/CHECKSUM=LINK.*+LNK???.*+*.REL+DEC:*.REL+DEC:*.UNV+DSK:OVRLAY.*+PLT???.*
;
;
;CHECK FOR /NOVER, OTHERWISE RECORD SOURCE VERSIONS
.R TECO
*ERLINK.INI^[Y^[S/NOVER^[^[
.IF (NOERROR) .GOTO ASSM0
;
.R TECO
*I*****************************************************
^[B,ZXA^[
ERLNK999.MAC^[Y^[SDECEVR^[L^[.,ZK^[GA^[HT^[ERLNKCOR.MAC^[Y^[SDECEVR^[L^[.,ZK^[GA^[HT^[
ERLNKCST.MAC^[Y^[SDECEVR^[L^[.,ZK^[GA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[^[
;
.IF (ERROR) ;EXPECTED TO FAIL IF BUNDLED VERSION
;
;
;
.CHKPNT USEDSK
USEDSK::
;HERE THE SECOND AND THIRD TIME FOR BUILDING LINK
;WITH NEW SOFTWARE.
;
.MOUNT LINK:
.COPY LINK:=DEC:PIP.EXE,COMPIL.EXE,DIRECT.EXE,TECO.EXE,C.UNV,SCNMAC.UNV,UUOSYM.UNV,JOBDAT.REL,SCAN.REL,HELPER.REL
.DELETE LNK???.REL,PLT???.REL,OVRLAY.REL,PLTPRM.UNV,FORMSC.UNV,LNK???.UNV
.R SETSRC
*C LINK,*
;
.AS DSK: SYS:
.AS DEC: REL:
.SET WATCH VERSION
;
ASSM0::
;CHECK FOR /CREF
.R TECO
*ERLINK.INI^[Y^[S/CREF^[^[
.IF (ERROR) .GOTO ASPNC
;COMPIL/CREF OVRLAY.MAC
.TYPE OVRLAY.CMD
.COMPILE /COMPIL /CREF @OVRLAY.CMD
;COMPIL/CREF PLOTTER STUFF
.TYPE LNKPLT.CMD
;
.COMPIL /COMPIL /CREF @LNKPLT.CMD
.GOTO ASSM2
;
ASPNC::
;COMPIL OVRLAY.MAC
.TYPE OVRLAY.CMD
.COMPILE /COMPIL @OVRLAY.CMD
;COMPIL PLOTTER STUFF
.TYPE LNKPLT.CMD
;
.COMPIL /COMPIL @LNKPLT.CMD
;
ASSM2::
.CHKPNT ASSM2
;CHECK FOR /CREF
.R TECO
*ERLINK.INI^[Y^[S/CREF^[^[
.IF (ERROR) .GOTO ASSNC
;COMPILE ALL LINK-10 SOURCE FILES PRODUCING BINARY AND CREF FILES
.TYPE LNKCMD.CMD
;
.COMPIL /COMPIL /CREF @LNKCMD.CMD
.IF (NOERROR) .GOTO LINK
;
REASS::
.CHKPNT REASS
;HERE IF FAILS OR CREFFING CAUSES EXCEEDING OF QUOTA
.DELETE LNK???.CRF,PLT???.CRF,OVRLAY.CRF
.IF (ERROR)
;
ASSNC::
.CHKPNT ASSNC
;COMPILE ALL LINK-10 SOURCE FILES PRODUCING BINARY FILES
.TYPE LNKCMD.CMD
;
.COMPIL /COMPIL @LNKCMD.CMD
;
LINK::
.CHKPNT LINK
;CHECK FOR /NOLNK
;
.RUN DEC:TECO
*ERLINK.INI^[Y^[S/NOLNK^[^[
.IF (NOERROR) .GOTO DONE
.R LINK
*@LINK
;TRY IT JUST TO MAKE SURE IT WORKS
.RUN DSK:LINK
*/HELP
;
.DIR/CHECKSUM LINK.EXE,LNK???.EXE
DONE:: .ERROR ?
;CHECK TO SEE IF /NOLNK AND DELETE TEMPORARY FILES IF SO
;
.RUN DEC:TECO
*ERLINK.INI^[Y^[S/NOLNK^[^[
.IF (ERROR) .GOTO FIN
;
.PLEASE LINK-10 SUCCESSFUL
.DELETE *.TMP
.DELETE PIP.EXE,COMPIL.EXE,DIRECT.EXE,TECO.EXE,C.UNV,SCNMAC.UNV,UUOSYM.UNV,JOBDAT.REL,SCAN.REL,HELPER.REL
.GOTO FIN
;
%CERR:: .GOTO ERR
%ERR::
ERR:: ;LEAVE FILES SO WE CAN RESTART JOB
.PLEASE LINK-10 UNSUCCESSFUL
;
FIN::
%FIN:: .DEASSIGN SYS
.IF (ERROR) ;ALREADY DEASSIGNED