]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/MAI/bios_emulator/scitech/bin/wc10atnt.bat
* Patch by Thomas Frieden, 13 Nov 2002:
[karo-tx-uboot.git] / board / MAI / bios_emulator / scitech / bin / wc10atnt.bat
1 @echo off
2 REM Setup for compiling with Watcom C/C++ 10.0a in 32 bit mode with Phar Lap TNT
3
4 if .%CHECKED%==.1 goto checked_build
5 SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\WC10A;%WC10A_PATH%\LIB386;%WC10A_PATH%\LIB386\DOS;%TNT_PATH%\LIB;.
6 echo Release build enabled.
7 goto setvars
8
9 :checked_build
10 SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\WC10A;%WC10A_PATH%\LIB386;%WC10A_PATH%\LIB386\DOS;%TNT_PATH%\LIB;.
11 echo Checked debug build enabled.
12 goto setvars
13
14 :setvars
15 SET EDPATH=%WC10A_PATH%\EDDAT
16 SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%WC10A_PATH%\H;%WC10A_PATH%\H\NT;%TNT_PATH%\INCLUDE
17 SET WATCOM=%WC10A_PATH%
18 SET MAKESTARTUP=%SCITECH%\MAKEDEFS\WC32.MK
19 SET USE_TNT=1
20 SET USE_X32=
21 SET USE_X32VM=
22 SET USE_WIN16=
23 SET USE_WIN32=
24 SET USE_WIN386=
25 SET USE_OS216=
26 SET USE_OS232=
27 SET USE_OS2GUI=
28 SET USE_SNAP=
29 SET WC_LIBBASE=WC10A
30 PATH %SCITECH_BIN%;%WC10A_PATH%\BINNT;%WC10A_PATH%\BINB;%DEFPATH%%WC_CD_PATH%
31
32 REM If you set the following to a 1, a TNT DosStyle app will be created.
33 REM Otherwise a TNT NtStyle app will be created. NtStyle apps will *only*
34 REM run under real DOS when using our libraries, since we require access
35 REM to functions that the Win32 API does not support (such as direct access
36 REM to video memory, calling Int 10h BIOS functions etc). DosStyle apps
37 REM will however run fine in both DOS and a Win95 DOS box (NT DOS boxes don't
38 REM work too well).
39 REM
40 REM If you are using the RealTime DOS extender, your apps *must* be NtStyle,
41 REM and hence will never be able to run under Win95 or WinNT, only DOS.
42
43 SET DOSSTYLE=1
44
45 echo Watcom C/C++ 10.0a 32-bit DOS compilation environment set up (TNT).