home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
nvdc87
/
rsv1v1
/
new_clib.bat
< prev
next >
Wrap
DOS Batch File
|
1987-08-24
|
3KB
|
112 lines
ECHO OFF
ECHO ***
ECHO *** Building CLIB
ECHO ***
ECHO ***
ECHO *** Step 1: Compiling Model-Independent Modules
ECHO ***
CD \TURBOC\RUNTIME\CLIB
DEL *.OBJ
DEL ..\OBJ\*.OBJ
masm EMUINIT /MX;
masm LDIV /MX;
masm LRSH /MX;
masm LXMUL /MX;
masm OVERFLOW /MX;
masm PADA /MX;
masm PADD /MX;
masm PCMP /MX;
masm PINA /MX;
masm PSBP /MX;
masm SCOPY /MX;
masm SPUSH /MX;
COPY *.OBJ ..\OBJ
ECHO ***
ECHO *** Step 2: Building SMALL and TINY Memory Model Library
ECHO ***
masm C0,C0T /D__TINY__ /MX;
masm C0,C0S /D__SMALL__ /MX;
COPY C0T.OBJ ..\LIB
COPY C0S.OBJ ..\LIB
masm SETARGV /D__SMALL__ /MX;
masm SETENVP /D__SMALL__ /MX;
masm EXEC /D__SMALL__ /MX;
masm SPAWN /D__SMALL__ /MX;
masm CVTFAK /D__SMALL__ /MX;
masm REALCVT /D__SMALL__ /MX;
masm SCANTOD /D__SMALL__ /MX;
tcc -I\TURBOC\RUNTIME\INCLUDE -I\TURBOC\INCLUDE -O -Z -c -mt *.C*
DEL ..\LIB\CS.*
lib ..\LIB\CS @CLIB.RSP
ECHO ***
ECHO *** Step 3: Building MEDIUM Memory Model Library
ECHO ***
DEL *.OBJ
masm C0,C0M /D__MEDIUM__ /MX;
COPY C0M.OBJ ..\LIB
masm SETARGV /D__MEDIUM__ /MX;
masm SETENVP /D__MEDIUM__ /MX;
masm EXEC /D__MEDIUM__ /MX;
masm SPAWN /D__MEDIUM__ /MX;
masm CVTFAK /D__MEDIUM__ /MX;
masm REALCVT /D__MEDIUM__ /MX;
masm SCANTOD /D__MEDIUM__ /MX;
tcc -I\TURBOC\RUNTIME\INCLUDE -I\TURBOC\INCLUDE -O -Z -c -mm *.C*
COPY ..\OBJ\*.OBJ
DEL ..\LIB\CM.*
lib ..\LIB\CM @CLIB.RSP
ECHO ***
ECHO *** Step 4: Building COMPACT Memory Model Library
ECHO ***
DEL *.OBJ
masm C0,C0C /D__COMPACT__ /MX;
COPY C0C.OBJ ..\LIB
masm SETARGV /D__COMPACT__ /MX;
masm SETENVP /D__COMPACT__ /MX;
masm EXEC /D__COMPACT__ /MX;
masm SPAWN /D__COMPACT__ /MX;
masm CVTFAK /D__COMPACT__ /MX;
masm REALCVT /D__COMPACT__ /MX;
masm SCANTOD /D__COMPACT__ /MX;
tcc -I\TURBOC\RUNTIME\INCLUDE -I\TURBOC\INCLUDE -O -Z -c -mc *.C*
COPY ..\OBJ\*.OBJ
DEL ..\LIB\CC.*
lib ..\LIB\CC @CLIB.RSP
ECHO ***
ECHO *** Step 5: Building LARGE Memory Model Library
ECHO ***
DEL *.OBJ
masm C0,C0L /D__LARGE__ /MX;
COPY C0L.OBJ ..\LIB
masm SETARGV /D__LARGE__ /MX;
masm SETENVP /D__LARGE__ /MX;
masm EXEC /D__LARGE__ /MX;
masm SPAWN /D__LARGE__ /MX;
masm CVTFAK /D__LARGE__ /MX;
masm REALCVT /D__LARGE__ /MX;
masm SCANTOD /D__LARGE__ /MX;
tcc -I\TURBOC\RUNTIME\INCLUDE -I\TURBOC\INCLUDE -O -Z -c -ml *.C*
COPY ..\OBJ\*.OBJ
DEL ..\LIB\CL.*
lib ..\LIB\CL @CLIB.RSP
ECHO ***
ECHO *** Step 6: Building HUGE Memory Model Library
ECHO ***
DEL *.OBJ
masm C0,C0H /D__HUGE__ /MX;
COPY C0H.OBJ ..\LIB
masm SETARGV /D__HUGE__ /MX;
masm SETENVP /D__HUGE__ /MX;
masm EXEC /D__HUGE__ /MX;
masm SPAWN /D__HUGE__ /MX;
masm CVTFAK /D__HUGE__ /MX;
masm REALCVT /D__HUGE__ /MX;
masm SCANTOD /D__HUGE__ /MX;
tcc -I\TURBOC\RUNTIME\INCLUDE -I\TURBOC\INCLUDE -O -Z -c -mh *.C*
COPY ..\OBJ\*.OBJ
DEL ..\LIB\CH.*
lib ..\LIB\CH @CLIB.RSP
ECHO ***
ECHO *** Finished Building CLIB
ECHO ***