! RT11 native command file built on Sun Mar 10 16:40:11 1985 ! ! Modified by hand editing to take care of what can't be done automatically. ! ! ASSIGN XXn: to SRC: where XXn is the device which holds the C source files. ! ! If the functions are to be included in CLIB.OBJ include the commented out ! instructions of this file where indicated and ensure that there is an ! unmodified version of CLIB.OBJ on the system device. It will be unaltered ! and the new version will be called CLIB.NEW. Rename them to suit your ! purpose. ! ! ** Compile FABS ! RUN C:CC src:FABS.C RUN C:AS FABS.S/d ! ! ** Compile LOG10 ! RUN C:CC src:LOG10.C RUN C:AS LOG10.S/d ! ! ** Compile ARSICO ! RUN C:CC src:ARSICO.C RUN C:AS ARSICO.S/d ! ! ** Compile EXP ! RUN C:CC src:EXP.C RUN C:AS EXP.S/d ! ! ** Compile SINH ! RUN C:CC src:SINH.C RUN C:AS SINH.S/d ! ! ** Compile ATAN ! RUN C:CC src:ATAN.C RUN C:AS ATAN.S/d ! ! ** Compile TANH ! RUN C:CC src:TANH.C RUN C:AS TANH.S/d ! ! ** Compile SINCOS ! RUN C:CC src:SINCOS.C RUN C:AS SINCOS.S/d ! ! ** Compile ATOF ! RUN C:CC src:ATOF.C RUN C:AS ATOF.S/d ! ! ** Compile SQRT ! RUN C:CC src:SQRT.C RUN C:AS SQRT.S/d ! ! ** Compile LOG ! RUN C:CC src:LOG.C RUN C:AS LOG.S/d ! ! ** Compile COSH ! RUN C:CC src:COSH.C RUN C:AS COSH.S/d ! ! ** Compile DTOA ! RUN C:CC src:DTOA.C RUN C:AS DTOA.S/d ! ! ** Compile POW ! RUN C:CC src:POW.C RUN C:AS POW.S/d ! ! ** Compile TANCOT ! RUN C:CC src:TANCOT.C RUN C:AS TANCOT.S/d ! ! ** Compile CMATHE ! RUN C:CC src:CMATHE.C RUN C:AS CMATHE.S/d ! ! ** Compile CMINIT ! run c:cc src:cminit.c run c:as cminit.s/d ! ! ** Compile POWTEN ! run c:cc src:powten.c run c:as powten.s/d ! ! ** Do 4 Macro functions ! MACRO SRC:(FREXP,LDEXP,MODF,FPTRAP) ! ! ** Build library of new routines as CMATH.OBJ R LIBR CMATH.OBJ=// FABS.OBJ,LOG10.OBJ,ARSICO.OBJ,EXP.OBJ SINH.OBJ,ATAN.OBJ,TANH.OBJ,SINCOS.OBJ ATOF.OBJ,SQRT.OBJ,LOG.OBJ,COSH.OBJ DTOA.OBJ,POW.OBJ,TANCOT.OBJ,CMATHE.OBJ POWTEN.OBJ LDEXP.OBJ,FREXP.OBJ,MODF.OBJ,FPTRAP.OBJ// ^C ! ! **** The following commented out section will put the new routines ! in CLIB.OBJ. New version called CLIB.NEW. !! !COPY CLIB.OBJ *.NEW !! !! ** Remove the dummies so they can be replaced by the real thing. !! !LIB/DELETE CLIB.NEW !DDTOA !ATOFD ! !! !! ** Put the new routines into CLIB, then delete CMATH.OBJ. !! !RUN LIBR !CLIB.NEW=CLIB.NEW,CMATH !^C !DEL/NOQ CMATH.OBJ !! !! ** Delete dtoa and atof in this case also. !! !DEL/NOQ DTOA.OBJ,ATOF.OBJ !! !! **** End of commented out section to put new routines in CLIB.NEW !! **** Rename it CLIB.OBJ after saving the old version. ! ! ** Now delete object files, not DTOA and ATOF in this case - protect them. ! DELETE/NOQ FABS.OBJ DELETE/NOQ LOG10.OBJ DELETE/NOQ ARSICO.OBJ DELETE/NOQ EXP.OBJ DELETE/NOQ SINH.OBJ DELETE/NOQ ATAN.OBJ DELETE/NOQ TANH.OBJ DELETE/NOQ SINCOS.OBJ DELETE/NOQ SQRT.OBJ DELETE/NOQ LOG.OBJ DELETE/NOQ COSH.OBJ DELETE/NOQ POW.OBJ DELETE/NOQ TANCOT.OBJ DELETE/NOQ CMATHE.OBJ DELETE/NOQ POWTEN.OBJ DELETE/NOQ LDEXP.OBJ DELETE/NOQ FREXP.OBJ DELETE/NOQ MODF.OBJ DELETE/NOQ FPTRAP.OBJ