:- :- batch file that is included in all other batch files for configuration :- :-**************************************************************** :- NOTICE! You must edit and rename this file to CONFIG.BAT! * :-**************************************************************** :-********************************************************************* :- determine your compiler settings :- :- you have to :- search for XNASM - and set the path for NASM :- search for COMPILER - and set your compiler :- search for ??_BASE - and set the path to your compiler :- :-********************************************************************* :-********************************************************************** :-- define where to find NASM - remember - it should not be protected :- mode DJGPP version if you're using Windows NT/2k/XP to compile :- also: DJGPP-nasm crashes when using protected mode Borland's make :-********************************************************************** set XNASM=c:\bin\nasm16 :********************************************************************** :- define your COMPILER type here, pick one of them :********************************************************************** :- Turbo C 2.01 set COMPILER=TC2 :- Turbo C++ 1.01 :- set COMPILER=TURBOCPP :- Turbo C 3.0 :- set COMPILER=TC3 :- Borland C :- set COMPILER=BC5 :- Microsoft C :- set COMPILER=MSCL8 :- Watcom C :- set COMPILER=WATCOM :-********************************************************************** :-- where is the BASE dir of your compiler(s) ?? :-********************************************************************** set TC2_BASE=c:\tc201 :- set TP1_BASE=c:\tcpp :- set TC3_BASE=c:\tc3 :- set BC5_BASE=c:\bc5 :- set MS_BASE=c:\msvc :- if WATCOM maybe you need to set your WATCOM environment variables :- and path :- if not \%WATCOM% == \ goto watcom_defined :- set WATCOM=c:\watcom :- set PATH=%PATH%;%WATCOM%\binw :watcom_defined :-********************************************************************** :- where is UPX and which options to use? :-********************************************************************** set XUPX=upx --8086 --best :- or use set XUPX= :- if you don't want to use it :-********************************************************************** :- (optionally) which linker to use: :- (otherwise will be determined automatically) :- :- WARNING TLINK needs to be in your PATH! :-********************************************************************** :- Turbo Link :- set XLINK=tlink /m/c/s/l :- Microsoft Link :- set XLINK=d:\qb\link /ma :- set XLINK=%MS_BASE%\bin\link /ONERROR:NOEXE /ma /nologo :- WATCOM Link (wlinker is a batch file calling ms2wlink and wlink) :- set XLINK=..\utils\wlinker /ma /nologo :- set path for Turbo Link - use OLDPATH to restore normal path :- set OLDPATH=%PATH% :- set PATH=%PATH%;%TC2_BASE% :********************************************************************** :* optionally define your MAKE type here, if not then :* it will be automatically determined, pick one of them :* use MS nmake if you want to compile with MSCL :********************************************************************** :- Borland MAKE :- set MAKE=%TC2_BASE%\make :- Watcom MAKE in MS mode :- set MAKE=%WATCOM%\binw\wmake /ms :- Microsoft MAKE :- set MAKE=%MS_BASE%\bin\nmake /nologo :********************************************************************** :* select your default target: required CPU and what FAT system to support :********************************************************************** set XCPU=86 :- set XCPU=186 :- set XCPU=386 set XFAT=16 :- set XFAT=32 :- Give extra compiler DEFINE flags here :- such as -DDEBUG : extra DEBUG output :- -DDOSEMU : printf output goes to dosemu log :- -p : use PASCAL calling convention with Turbo C :- set ALLCFLAGS=-DDEBUG :- :- $Id$ :- :- Log: config.b,v :- :- Revision 1.3 1999/09/13 20:40:17 jprice :- Added COMPILER variable :- :- Revision 1.2 1999/08/25 03:59:14 jprice :- New build batch files. :- :- Revision 1.1 1999/08/25 03:20:39 jprice :- ror4 patches to allow TC 2.01 compile.