2 REM Setup for compiling with Borland C++ 5.0 in 32 bit mode with Phar Lap TNT
4 if .%CHECKED%==.1 goto checked_build
5 SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\BC5;%BC5_PATH%\LIB;%TNT_PATH%\LIB;.
6 echo Release build enabled.
10 SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\BC5;%BC5_PATH%\LIB;%TNT_PATH%\LIB;.
11 echo Checked debug build enabled.
15 SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC5_PATH%\INCLUDE;%TNT_PATH%\INCLUDE;
16 SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
28 PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%TNT_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
30 REM If you set the following to a 1, a TNT DosStyle app will be created.
31 REM Otherwise a TNT NtStyle app will be created. NtStyle apps will *only*
32 REM run under real DOS when using our libraries, since we require access
33 REM to functions that the Win32 API does not support (such as direct access
34 REM to video memory, calling Int 10h BIOS functions etc). DosStyle apps
35 REM will however run fine in both DOS and a Win95 DOS box (NT DOS boxes don't
38 REM If you are using the RealTime DOS extender, your apps *must* be NtStyle,
39 REM and hence will never be able to run under Win95 or WinNT, only DOS.
43 REM: Create Borland compile/link configuration scripts
44 echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
45 echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
46 echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
48 echo Borland C++ 5.0 32 bit DOS compilation configuration set up (TNT).