! Command file to run on the VAX RTEM RT11 emulator. ! Copy this file from VMS [DECUSC.COMMAND] to the emulator as follows: ! R FIP ! *.*=cdevice:[DECUSC.COMMAND]EBUILD.COM/F/A ! ! You must have previously created a virtual disk using the emulator with ! the name C. It should be large enough to hold all of the output files ! generated. ! ! Create a working disk. This is automatically deleted when RTEM is exited. r joat scratch/c:10000./z/v:vs1 c/v:vs2 ! The C device to store everything we want to keep.  ! It must already exist! ! assign vs1: dk: ! Put all but the output files here. assign vs1: src: ! All the sources will be copied here. assign vs2: c: ! Store all the final output files here. ! ! Build the compiler and assembler ! r fip *.*=cdevice:[decusc.comp]/f/a  @tmakcc @tmakas ! ! Build the C runtime library ! init/noq dk: r fip *.*=cdevice:[decusc.otsio]/f/a *.*=cdevice:[decusc.otscom]/f/a  @tmaklb ! ! Build all of the C tools (grep, wc, etc.) ! init/noq dk: r fip c:*.*=cdevice:[decusc]*.h/f/a *.*=cdevice:[decusc.tools]*.*/f/a  @ttool copy *.sav c:*.* ! ! Build the C useful library ! init/noq dk: r fip c:*.*=cdevice:[decusc]*.h/f/a *.*=cdevice:[decusc.useful]*.*/f/a  @tmakcu copy cu.obj c:*.* ! ! Build the C portable runtime library (written in C) ! init/noq dk: r fip c:*.*=cdevice:[decusc]*.h/f/a *.*=cdevice:[decusc.libc]*.*/f/a  @tlibc copy libc.obj c:*.* ! ! Build the file in [.misc] ! init/noq dk: r fip c:*.*=cdevice:[decusc]*.h/f/a *.*=cdevice:[decusc.misc]*.*/f/a  @tmisc copy *.sav c:*.* ! ! Build the portable math library (written in C) ! init/noq dk: r fip c:*.*=cdevice:[decusc]*.h/f/a *.*=cdevice:[decusc.pml]*.*/f/a  @tpml ! Currently puts the library on C: