]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/MAI/bios_emulator/scitech/bin/vc60-tnt.bat
* Patch by Thomas Frieden, 13 Nov 2002:
[karo-tx-uboot.git] / board / MAI / bios_emulator / scitech / bin / vc60-tnt.bat
1 @echo off
2 REM Setup environment variables for Visual C++ 6.0 32 bit edition
3
4 if .%CHECKED%==.1 goto checked_build
5 set LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\VC6;%VC6_PATH%\VC98\LIB;%TNT_PATH%\COFFLIB;.
6 echo Release build enabled.
7 goto setvars
8
9 :checked_build
10 set LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\VC6;%VC6_PATH%\VC98\LIB;%TNT_PATH%\COFFLIB;.
11 echo Checked debug build enabled.
12 goto setvars
13
14 :setvars
15 set TOOLROOTDIR=%VC6_PATH%\VC98
16 set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%VC6_PATH%\VC98\INCLUDE;%TNT_PATH%\INCLUDE;
17 set INIT=%VC6_PATH%\VC98
18 SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
19 SET USE_WIN16=
20 SET USE_WIN32=
21 SET USE_TNT=
22 SET USE_VXD=
23 SET USE_NTDRV=
24 SET USE_RTTARGET=
25 SET USE_SNAP=
26 SET VC_LIBBASE=vc6 PATH
27 %SCITECH_BIN%;%VC6_PATH%\VC98\BIN;%VC6_PATH%\COMMON\MSDEV98\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
28
29 REM If you set the following to a 1, a TNT DosStyle app will be created.
30 REM Otherwise a TNT NtStyle app will be created. NtStyle apps will *only*
31 REM run under real DOS when using our libraries, since we require access
32 REM to functions that the Win32 API does not support (such as direct access
33 REM to video memory, calling Int 10h BIOS functions etc). DosStyle apps
34 REM will however run fine in both DOS and a Win95 DOS box (NT DOS boxes don't
35 REM work too well).
36 REM
37 REM If you are using the RealTime DOS extender, your apps *must* be NtStyle,
38 REM and hence will never be able to run under Win95 or WinNT, only DOS.
39
40 SET DOSSTYLE=
41
42 echo Visual C++ 6.0 32-bit compilation environment set up (with TNT).