Google
 

Trailing-Edge - PDP-10 Archives - BB-D480C-SB_1981 - b10ftn.ctl
There are 10 other files named b10ftn.ctl in the archive. Click here to see a list.
;	JOB TO BUILD THE FORTRAN COMPILER ON THE DECsystem-10
;	SUBMIT B10FTN.CTL/TIME:02:00:00/RESTART:1



;THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY ONLY BE USED
;  OR COPIED IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE.

;COPYRIGHT (C) 1976, 1981 BY DIGITAL EQUIPMENT CORPORATION

;	VERSION 6	  B10FTN.CTL	March 81

;This control file describes the procedures used to build the distributed
;software.   It  is  unlikely  that  this  control  file can be submitted
;without  modification  on  customer  systems.   Submit  times  may  vary
;depending  on  system  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  its  intended  purpose:   to  build  the  distributed
;software on our development systems.

; FUNCTION:	THIS CONTROL FILE BUILDS THE STANDARD FORTRAN COMPILER.
;		  IT UTILIZES FIELD IMAGE SOFTWARE.

; INPUT:	THE FOLLOWING FILES ARE REQUIRED BY THIS JOB IN THE
;		  DISK AREAS INDICATED:

;	SYS:	BLIS10	.EXE	; VERSION 7E(227)
;	SYS:	BLIS10	.ERR
;	SYS:	COMPIL	.EXE
;	SYS:	DIRECT	.EXE
;	REL:	HELPER	.REL	; VERSION 5(41)
;	SYS:	LINK	.EXE	; VERSION 4A
;	SYS:	LNK???	.EXE
;	SYS:	MACRO	.EXE	; VERSION 53A
;	UNV:	MACTEN	.UNV
;	SYS:	PIP	.EXE
;	REL:	SCAN	.REL	; VERSION 7B(572)
;	UNV:	SCNMAC	.UNV
;	SYS:	TECO	.EXE
;	UNV:	UUOSYM	.UNV
;	REL:	WILD	.REL	; VERSION 7(311)

;	DSK:	[AREA UNDER WHICH B10FTN.CTL IS BEING RUN]

;		B10FTN	.CTL		THIS CONTROL FILE
;		L10FTN	.CTL		PRODUCES COMPILER LISTINGS
;		A	.CMD		LOADS FORTRA
;		ALL	.CMD		LOADS SINGLE
;		B	.CMD		LOADS FORTB
;		BLD	.CMD		LOADS BUILD
;		C	.CMD		LOADS FORTC
;		D	.CMD		LOADS FORTD
;		DA	.CMD		LOADS FORTRA WITH DDT
;		DALL	.CMD		LOADS SINGLE WITH DDT
;		DB	.CMD		LOADS FORTB  WITH DDT
;		DC	.CMD		LOADS FORTC  WITH DDT
;		DD	.CMD		LOADS FORTD  WITH DDT
;		DE	.CMD		LOADS FORTE  WITH DDT
;		DF	.CMD		LOADS FORTF  WITH DDT
;		DG	.CMD		LOADS FORTG  WITH DDT
;		E	.CMD		LOADS FORTE
;		F	.CMD		LOADS FORTF
;		G	.CMD		LOADS FORTG
;		LEFT72	.CMD		LOADS LEFT72
;		LEFTFM	.CMD		LOADS LEFTFM
;
;		SOURCES FOR BUILDING SYNTAX TABLES ARE MARKED WITH A #
;
;		 ACT0.BLI,    ACT1.BLI,    ALCBLO.BLI,  ARRXPN.BLI,  ASHELP.BLI
;		#BLIO.BLI,   #BUILD.BLI,   CANNON.BLI,  CGDO.BLI,    CGEXPR.BLI
;		 CGSTMN.BLI,  CMPBLO.BLI,  CMPLEX.BLI,  CNSTCM.MAC,  CODETA.BLI
;		 COMMAN.MAC,  COMSUB.BLI,  DATAST.BLI,  DEBUG.BLI,  #DEFLT.BLI
;		 DEFPT.BLI,   DGCMN.MAC,   DNPT.MAC,    DOALC.BLI,   DOPT.MAC
;		 DOXPN.BLI,   DRIVER.BLI,  ERR3.MAC,   #ERROR0.BLI,  ERROUT.BLI
;		 ERROVA.BLI,  ERROVB.BLI,  ERROVC.BLI,  ERROVD.BLI,  ERROVG.BLI
;		 ERROVR.BLI, #ERRTB3.MAC,  EXOSUP.MAC,  EXPRES.BLI, #F72BNF.SYN
;		 FAZ1.BLI,    FIRST.BLI,   FLTGEN.MAC, #FMTLEX.BLI,  FORMAT.BLI
;		#FRMBNF.SYN,  GCMNSB.BLI,  GFOPDF.MAC,  GLOBAL.BLI,  GNRCFN.BLI
;		 GOPT2.BLI,   GOPTIM.BLI,  GRAPH.BLI,   INOUT.BLI,   INPT.BLI
;		 IOFLG.BLI,   IOPT.BLI,    JOBD.MAC,   #LEFT72.BLI, #LEFTFM.BLI
;		 LEXAID.BLI,  LEXICA.BLI, #LEXNAM.BLI,  LEXSUP.BLI,  LISTNG.BLI
;		 LISTOU.BLI,  MAIN.BLI,    MEMCMP.BLI,  MOVA.BLI,   #NUMIO1.BLI
;		 OPGNTA.MAC,  OPTAB.BLI,   OPTMAC.BLI,  OUTMOD.BLI, #OUTZ.BLI
;		 OWNDM.MAC,   P2S1.BLI,    P2S2.BLI,    P3R.BLI,     PEEPOP.BLI
;		 PH2S.BLI,    PH3G.BLI,    PHA2.BLI,    PHA3.BLI,    PNROPT.BLI
;		#QTAB1.MAC,   REGAL2.BLI,  REGUTL.BLI,  RELBUF.BLI,  REQREL.BLI
;		 REVHST.MAC, #SCAN0.BLI,  #SCNR.BLI,    SKSTMN.BLI,  SRCA.BLI
;		 STA0.BLI,    STA1.BLI,    STA2.BLI,    STA3.BLI,    STREGA.BLI
;		 TABLES.BLI, #TBL.BLI,    #TRACE1.BLI,  TSTR.BLI,    UNEND.BLI
;		 UTIL.BLI,    VER5.BLI,    VLTPPR.BLI

; OUTPUT:	THE FOLLOWING FILES ARE GENERATED BY THIS CONTROL FILE
;		  AND WILL BE AVAILABLE ON THIS DISK AREA AT JOB
;		  TERMINATION:

;	DSK:	[AREA UNDER WHICH B10FTN.CTL IS BEING RUN]
;		B10FTN	.LOG		LOG FILE FOR THIS RUN
;		FORTB	.EXE		FORTRA PHASE B FOR THE -10
;		FORTB	.MAP
;		FORTC	.EXE		FORTRA PHASE C FOR THE -10
;		FORTC	.MAP
;		FORTD	.EXE		FORTRA PHASE D FOR THE -10
;		FORTD	.MAP
;		FORTE	.EXE		FORTRA PHASE E FOR THE -10
;		FORTE	.MAP
;		FORTF	.EXE		FORTRA PHASE F FOR THE -10
;		FORTF	.MAP
;		FORTG	.EXE		FORTRA PHASE G FOR THE -10
;		FORTG	.MAP
;		FORTRA	.EXE		FORTRA PHASE A FOR THE -10
;		FORTRA	.MAP
;
;		OUTPUTS FROM SYNTAX TABLE BUILDING ARE MARKED WITH A # OR *
;		 * INDICATES A REQUIRED FORTRAN COMPILER SOURCE COMPONENT
;
;		 ACT0.REL,    ACT1.REL,    ALCBLO.REL,  ARRXPN.REL, #BLIO.REL
;		#BUILD.EXE,  #BUILD.REL,   CANNON.REL,  CGDO.REL,    CGEXPR.REL
;		 CGSTMN.REL,  CMPBLO.REL,  CMPLEX.REL,  CNSTCM.REL,  CODETA.REL
;		 COMMAN.REL,  COMSUB.REL,  DATAST.REL,  DBUGIT.REQ,  DEBUG.REL
;		#DEFLT.REL,   DEFPT.REL,   DGCMN.REL,   DNPT.REL,    DOALC.REL
;		 DOPT.REL,    DORTB.EXE,   DORTC.EXE,   DORTD.EXE,   DORTE.EXE
;		 DORTF.EXE,   DORTG.EXE,   DORTRA.EXE,  DOXPN.REL,   DRIVER.REL
;		 ERR3.REL,   #ERROR0.REL,  ERROUT.REL,  ERROVA.REL,  ERROVB.REL
;		 ERROVC.REL,  ERROVD.REL,  ERROVG.REL,  ERROVR.REL, #ERRTB3.REL
;		 EXOSUP.REL,  EXPRES.REL, *F72BNF.BLI,  FAZ1.REL,    FLTGEN.REL
;		 FORMAT.REL, *FRMBNF.BLI,  FT1SEG.REQ,  FTTENX.MAC,  FTTENX.REQ
;		 FTTENX.UNV,  GCMNSB.REL,  GFOPDF.UNV,  GLOBAL.REL,  GNRCFN.REL
;		 GOPT2.REL,   GOPTIM.REL,  GRAPH.REL,   INOUT.REL,   INPT.REL
;		 IOPT.REL,    JOBD.REL,   #LEFT72.EXE, #LEFT72.REL, #LEFTFM.EXE
;		#LEFTFM.REL,  LEXICA.REL,  LEXSUP.REL,  LISTNG.REL,  LISTOU.REL
;		*LOOK72.BLI, *LOOKFM.BLI,  MAIN.REL,    MEMCMP.REL, *META72.BLI
;		#METAFM.BLI,  MOVA.REL,   #NUMIO1.REL,  ONESEG.REL,  OPGNTA.REL
;		 OPTAB.REL,   OUTMOD.REL, #OUTZ.REL,    OWNDM.REL,   P2S1.REL
;		 P2S2.REL,    P3R.REL,     PEEPOP.REL,  PH2S.REL,    PH3G.REL
;		 PHA2.REL,    PHA3.REL,    PNROPT.REL, #QTAB1.REL,   REGAL2.REL
;		 REGUTL.REL,  RELBUF.REL,  REVHST.REL, #SCAN0.REL,  #SCNR.REL
;		 SINGLE.EXE,  SINGLE.MAP,  SKSTMN.REL,  SRCA.REL,    STA0.REL
;		 STA1.REL,    STA2.REL,    STA3.REL,    STREGA.REL, #TBL.REL
;		#TRACE1.REL,  TSTR.REL,    UNEND.REL,   UTIL.REL,    VER5.REL
;		 VLTPPR.REL




START::
.CHKPNT START

;	SHOW CHECKSUMS AND VERSION NUMBERS

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	SYSTEM SOFTWARE

.DIRECT/CHECKSUM	 -
*BLIS10	.EXE	SYS:	,-
*BLIS10	.ERR	SYS:	,-
*COMPIL	.EXE	SYS:	,-
*DIRECT	.EXE	SYS:	,-
*HELPER	.REL	REL:	,-
*LINK	.EXE	SYS:	,-
*LNK???	.EXE	SYS:	,-
*MACRO	.EXE	SYS:	,-
*MACTEN	.UNV	UNV:	,-
*PIP	.EXE	SYS:	,-
*SCAN	.REL	REL:	,-
*SCNMAC	.UNV	UNV:	,-
*TECO	.EXE	SYS:	,-
*UUOSYM	.UNV	UNV:	,-
*WILD	.REL	REL:


;	CHECK VERSION OF HELPER

.RUN SYS:LINK
*REL:HELPER
*/VALUE:%HELPR

;	CHECK VERSION OF SCAN

.RUN SYS:LINK
*REL:SCAN
*/VALUE:%%SCAN

;	CHECK VERSION OF WILD

.RUN SYS:LINK
*REL:WILD
*/VALUE:%%WILD

;	INPUT FILES

.DIR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ASSIGN DEC: UNV:
.SET WATCH VERSION

;	COMPILE AND LOAD THE TABLE BUILDING PROGRAM.

.RUN SYS:BLIS10
*BUILD=BUILD.BLI

;	COMPILE ALL I/O UTILITIES.

.RUN SYS:MACRO
*ERRTB3=ERRTB3.MAC
*QTAB1=QTAB1.MAC

.RUN SYS:BLIS10
*BLIO=BLIO.BLI
*DEFLT=DEFLT.BLI
*ERROR0=ERROR0.BLI
*NUMIO1=NUMIO1.BLI
*OUTZ=OUTZ.BLI
*SCAN0=SCAN0.BLI
*SCNR=SCNR.BLI
*TBL=TBL.BLI
*TRACE1=TRACE1.BLI


BLDCK::
.CHKPNT BLDCK

;	LOAD THE BUILDER WITH I/O UTILITIES AND EXECUTE

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	LOAD IT

.TYPE BLD.CMD

.RUN SYS:LINK
*@BLD.CMD
.SAVE BUILD

;	BUILD STATEMENT SYNTAX TABLES
;	  BUILD REQUIRES _ NOT =

.RUN DSK:BUILD
*META72.BLI,F72BNF.BLI_F72BNF.SYN
*0
*N

;	BUILD FORMAT SYNTAX TABLES
;	  BUILD REQUIRES _ NOT =

.RUN DSK:BUILD
*METAFM.BLI,FRMBNF.BLI_FRMBNF.SYN
*0
*N

;	DO THE COMPILATIONS FOR THE LOOK AHEAD TABLE BUILDERS.

.RUN SYS:BLIS10
*LEFT72=LEFT72.BLI

;	THE UNDECLARED IDENTIFIER ERROR "ACTIONNAME" FROM LEFTFM CAN BE IGNORED
;	BLIS10 WILL GENERATE A WARNING

.RUN SYS:BLIS10
*LEFTFM=LEFTFM.BLI


PKLOD::
.CHKPNT PKLOD

;	LOAD, SAVE, AND EXECUTE THE GENERAL SYNTAX LOOK AHEAD BUILDER

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	LOAD IT
;	THE 13 UNDEFINED GLOBALS IN LEFT72 LOADING CAN BE IGNORED

;		FUNCTI	EXPRES	TOQUOT	TYPEID	EXPRLI	PNAMSE
;		LABELS	RECORD	IMPLIC	SLASHW	NOLABE	SUBLOC
;		ASTERT

.TYPE LEFT72.CMD

.NOERROR
.RUN SYS:LINK
*@LEFT72.CMD
.ERROR
.SAVE LEFT72

.RUN DSK:LEFT72
*3=LOOK72.BLI
*0

;	LOAD, SAVE, AND EXECUTE THE FORMAT LOOK AHEAD TABLE BUILDER

;	THE 1 UNDEFINED GLOBAL IN LOADING LEFTFM CAN BE IGNORED

;		ACTION

.TYPE LEFTFM.CMD

.NOERROR
.RUN SYS:LINK
*@LEFTFM.CMD
.ERROR
.SAVE LEFTFM

.RUN DSK:LEFTFM
*3=LOOKFM.BLI
*0

;	REMOVE THE TABLES FROM FRMBNF.BLI AND F72BNF.BLI THAT ARE
;	  UNNECESSARY FOR PHASE 1

.TECO F72BNF.BLI
*NLEFTBUILD^[JSBIND^[0L.U0S;^[0L
*<I!^[0LQ0-."E0;'-L>
*NLEFTBUILD^[N^[-L.U0S;^[-L
=<I!^[0LQ0-."E0;'-L>EX^[^[

.DELETE F72BNF.BAK

.TECO FRMBNF.BLI
*NLEFTBUILD^[JSBIND^[0L.U0S;^[0L
=<I!^[0LQ0-."E0;'-L>EX^[^[

.DELETE FRMBNF.BAK


;	IT IS RECOMMENDED THAT IF AN INSTALLATION IS NOT MODIFYING THE SYNTAX
;	  TABLES THAT THE BUILDING PROCESS BE STARTED HERE AT P0BEG.




P0BEG::
.CHKPNT P0BEG

;	**********	PHASE 0		**********	FORTRA

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	MAKE THE COMPILATION AND ASSEMBLY SWITCH DEFINITION FILES
;	  TO GENERATE THE COMPILER FOR TOPS-10, MULTIPLE SEGMENT

.COPY DBUGIT.REQ = TTY:
*BIND DBUGIT=0;		! NO DEBUG CODE IN PHASE 1
*^Z

.COPY FT1SEG.REQ = TTY:
*GLOBAL BIND FT1SEG=0;		! NOT SINGLE SEGMENT
*^Z

.COPY FTTENX.REQ = TTY:
*GLOBAL BIND FTTENEX=0;	! TOPS-10
*^Z

.COPY FTTENX.MAC = TTY:
*UNIVERSAL FTTENX
*	.DIRECTIVE .NOBIN
*	FTTENX==0		; TOPS-10
*	END
*^Z


;	START THE COMPILES
;	USE FIELD IMAGE MACTEN, UUOSYM, SCNMAC, SCAN, WILD, AND HELPER

.RUN SYS:MACRO
*FTTENX=FTTENX.MAC
*GFOPDF=GFOPDF.MAC

.RUN SYS:MACRO
*COMMAN=COMMAN.MAC
*ERR3=ERR3.MAC
*EXOSUP=EXOSUP.MAC
*JOBD=JOBD.MAC
*OWNDM=OWNDM.MAC
*REVHST=REVHST.MAC

.RUN SYS:BLIS10
*ERROVA=ERROVA.BLI
*GLOBAL=GLOBAL.BLI
*INOUT=INOUT.BLI
*MAIN=MAIN.BLI
*UNEND=UNEND.BLI


P0END::
.CHKPNT P0END

;	LOAD PHASE 0

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	BUILD DEBUGGING VERSION OF FORTRA.EXE

.TYPE DA.CMD

.DELETE DORTRA.EXE
.RUN SYS:LINK
*@DA.CMD
.RENAME DORTRA.EXE=FORTRA.EXE

;	BUILD SHARABLE FORTRA.EXE

.TYPE A.CMD

.RUN SYS:LINK
*@A.CMD
.GET DSK:FORTRA
.CORE




P1BEG::
.CHKPNT P1BEG

;	**********	PHASE 1		**********	FORTB

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.RUN SYS:MACRO
*CNSTCM=CNSTCM.MAC
*FLTGEN=FLTGEN.MAC

.RUN SYS:BLIS10
*ARRXPN=ARRXPN.BLI
*DOXPN=DOXPN.BLI
*ERROUT=ERROUT.BLI
*ERROVB=ERROVB.BLI
*EXPRES=EXPRES.BLI
*FAZ1=FAZ1.BLI
*GNRCFN=GNRCFN.BLI
*SRCA=SRCA.BLI
*VLTPPR=VLTPPR.BLI


FORMC::
.CHKPNT FORMC

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.RUN SYS:BLIS10
*ACT0=ACT0.BLI
*ACT1=ACT1.BLI
*CODETA=CODETA.BLI
*DRIVER=DRIVER.BLI
*FORMAT=FORMAT.BLI
*LEXSUP=LEXSUP.BLI
*LISTNG=LISTNG.BLI
*STA0=STA0.BLI
*STA1=STA1.BLI
*STA2=STA2.BLI
*STA3=STA3.BLI

;	LEXICA.BLI REQUIRES 75K OF CORE TO COMPILE

.RUN SYS:BLIS10
*LEXICA=LEXICA.BLI


P1END::
.CHKPNT P1END

;	LOAD PHASE 1

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	BUILD DEBUGGING VERSION OF FORTB.EXE

.TYPE DB.CMD

.DELETE DORTB.EXE
.RUN SYS:LINK
*@DB.CMD
.RENAME DORTB.EXE=FORTB.EXE

;	BUILD SHARABLE FORTB.EXE

.TYPE B.CMD

.RUN SYS:LINK
*@B.CMD
.GET DSK:FORTB
.CORE




P2SBE::
.CHKPNT P2SBE

;	**********	PHASE 2S	**********	FORTC

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.RUN SYS:MACRO
*DOPT=DOPT.MAC

.RUN SYS:BLIS10
*ERROVC=ERROVC.BLI
*GOPT2=GOPT2.BLI
*INPT=INPT.BLI
*MEMCMP=MEMCMP.BLI
*P2S1=P2S1.BLI
*SKSTMN=SKSTMN.BLI


P2S2C::
.CHKPNT P2S2C

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.RUN SYS:MACRO
*DGCMN=DGCMN.MAC

.RUN SYS:BLIS10
*CANNON=CANNON.BLI
*COMSUB=COMSUB.BLI
*GOPTIM=GOPTIM.BLI
*P2S2=P2S2.BLI
*PH2S=PH2S.BLI
*UTIL=UTIL.BLI


P2SEN::
.CHKPNT P2SEN

;	LOAD PHASE 2S

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	BUILD DEBUGGING VERSION OF FORTC.EXE

.TYPE DC.CMD

.DELETE DORTC.EXE
.RUN SYS:LINK
*@DC.CMD
.RENAME DORTC.EXE=FORTC.EXE

;	BUILD SHARABLE FORTC.EXE

.TYPE C.CMD

.RUN SYS:LINK
*@C.CMD
.GET DSK:FORTC
.CORE




P2BEG::
.CHKPNT P2BEG

;	**********	PHASE 2		**********	FORTD

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.RUN SYS:MACRO
*DNPT=DNPT.MAC

.RUN SYS:BLIS10
*DEFPT=DEFPT.BLI
*ERROVD=ERROVD.BLI
*GCMNSB=GCMNSB.BLI
*GRAPH=GRAPH.BLI
*IOPT=IOPT.BLI
*MOVA=MOVA.BLI
*PHA2=PHA2.BLI
*PNROPT=PNROPT.BLI
*TSTR=TSTR.BLI
*VER5=VER5.BLI


P2END::
.CHKPNT P2END

;	LOAD PHASE 2

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	BUILD DEBUGGING VERSION OF FORTD.EXE

.TYPE DD.CMD

.DELETE DORTD.EXE
.RUN SYS:LINK
*@DD.CMD
.RENAME DORTD.EXE=FORTD.EXE

;	BUILD SHARABLE FORTD.EXE

.TYPE D.CMD

.RUN SYS:LINK
*@D.CMD
.GET DSK:FORTD
.CORE




P3GBE::
.CHKPNT P3GBE

;	**********	PHASE 3G	**********	FORTE

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.RUN SYS:BLIS10
*ALCBLO=ALCBLO.BLI
*CMPBLO=CMPBLO.BLI
*CMPLEX=CMPLEX.BLI
*DATAST=DATAST.BLI
*DOALC=DOALC.BLI
*ERROVR=ERROVR.BLI
*OUTMOD=OUTMOD.BLI
*PH3G=PH3G.BLI
*REGAL2=REGAL2.BLI
*REGUTL=REGUTL.BLI
*RELBUF=RELBUF.BLI
*STREGA=STREGA.BLI


P3GEN::
.CHKPNT P3GEN

;	LOAD PHASE 3G

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	BUILD DEBUGGING VERSION OF FORTE.EXE

.TYPE DE.CMD

.DELETE DORTE.EXE
.RUN SYS:LINK
*@DE.CMD
.RENAME DORTE.EXE=FORTE.EXE

;	BUILD SHARABLE FORTE.EXE

.TYPE E.CMD

.RUN SYS:LINK
*@E.CMD
.GET DSK:FORTE
.CORE




P3RBE::
.CHKPNT P3RBE

;	**********	PHASE 3R	**********	FORTF

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.RUN SYS:BLIS10
*P3R=P3R.BLI

;	LOAD PHASE 3R

;	BUILD DEBUGGING VERSION OF FORTF.EXE

.TYPE DF.CMD

.DELETE DORTF.EXE
.RUN SYS:LINK
*@DF.CMD
.RENAME DORTF.EXE=FORTF.EXE

;	BUILD SHARABLE FORTF.EXE

.TYPE F.CMD

.RUN SYS:LINK
*@F.CMD
.GET DSK:FORTF
.CORE




P3BEG::
.CHKPNT P3BEG

;	**********	PHASE 3		**********	FORTG

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.RUN SYS:MACRO
*OPGNTA=OPGNTA.MAC

.RUN SYS:BLIS10
*CGDO=CGDO.BLI
*CGEXPR=CGEXPR.BLI
*CGSTMN=CGSTMN.BLI
*DEBUG=DEBUG.BLI
*ERROVG=ERROVG.BLI
*LISTOU=LISTOU.BLI
*OPTAB=OPTAB.BLI
*PEEPOP=PEEPOP.BLI
*PHA3=PHA3.BLI


P3END::
.CHKPNT P3END

;	LOAD PHASE 3

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

;	BUILD DEBUGGING VERSION OF FORTG.EXE

.TYPE DG.CMD

.DELETE DORTG.EXE
.RUN SYS:LINK
*@DG.CMD
.RENAME DORTG.EXE=FORTG.EXE

;	BUILD FORTG.EXE

.TYPE G.CMD

.RUN SYS:LINK
*@G.CMD
.GET DSK:FORTG
.CORE


;	**********	MULTI-SEGMENT BUILDING PHASES COMPLETE	**********




PSNGL::
.CHKPNT PSNGL

;	MAKE THE SINGLE SEGMENT TOPS-10 COMPILER

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.COPY FT1SEG.BAK = FT1SEG.REQ

.COPY FT1SEG.REQ = TTY:
*GLOBAL BIND FT1SEG = 1;	! SINGLE SEGMENT
*^Z

;	RECOMPILE MAIN.BLI AS ONESEG.REL

.RUN SYS:BLIS10
*ONESEG=MAIN.BLI

;	CLEAN UP

.COPY FT1SEG.REQ = FT1SEG.BAK
.DELETE FT1SEG.BAK

;	BUILD SHARABLE SINGLE SEGMENT COMPILER

.TYPE ALL.CMD

.RUN SYS:LINK
*@ALL
.GET DSK:SINGLE
.CORE




DDIR::
.CHKPNT DDIR

;	SHOW CHECKSUMS OF ALL OUTPUT FILES

.DEASSIGN
.MOUNT DSKP:
.R SETSRC
*C DSKP:
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:
.ASSIGN DEC: UNV:
.SET WATCH VERSION

.DIRECT/CHECKSUM -
*FORTB	.EXE	,-
*FORTB	.MAP	,-
*FORTC	.EXE	,-
*FORTC	.MAP	,-
*FORTD	.EXE	,-
*FORTD	.MAP	,-
*FORTE	.EXE	,-
*FORTE	.MAP	,-
*FORTF	.EXE	,-
*FORTF	.MAP	,-
*FORTG	.EXE	,-
*FORTG	.MAP	,-
*FORTRA	.EXE	,-
*FORTRA	.MAP	,-
*ACT0	.REL	,-
*ACT1	.REL	,-
*ALCBLO	.REL	,-
*ARRXPN	.REL	,-
*BLIO	.REL	,-
*BUILD	.EXE	,-
*BUILD	.REL	,-
*CANNON	.REL	,-
*CGDO	.REL	,-
*CGEXPR	.REL	,-
*CGSTMN	.REL	,-
*CMPBLO	.REL	,-
*CMPLEX	.REL	,-
*CNSTCM	.REL	,-
*CODETA	.REL	,-
*COMMAN	.REL	,-
*COMSUB	.REL	,-
*DATAST	.REL	,-
*DBUGIT	.REQ	,-
*DEBUG	.REL	,-
*DEFLT	.REL	,-
*DEFPT	.REL	,-
*DGCMN	.REL	,-
*DNPT	.REL	,-
*DOALC	.REL	,-
*DOPT	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