1@rem build_w32bcc.bat 2@echo off 3 4rem This file builds and tests CCCC under the Borland Command line 5rem C++ compiler. 6rem Path to Microsoft Visual Studio standard edition release 6.0 7set BCDIR=c:\Program Files\Borland\bcc55 8if not exist "%BCDIR%\bin\bcc32.exe" goto no_bcc 9 10PATH "%BCDIR%\bin";%PATH% 11 12rem One day there I will do Borland Makefiles for ANTLR and DLG. 13rem For the moment I will rely on versions precompiled under MSVC. 14if not exist pccts\bin\antlr.exe goto no_pccts 15if not exist pccts\bin\dlg.exe goto no_pccts 16 17cd cccc 18if exist *.obj del *.obj 19if exist *.cpp del *.cpp 20make -f w32bcc.mak 21cd .. 22 23cd test 24make -f w32bcc.mak 25cd .. 26 27goto end 28 29:no_bcc 30echo This script expects Borland C++ command line compiler to be in 31echo %VCDIR%\bin\bcc32.exe. 32echo Please modify the script if the location is different. 33goto end 34 35:no_pccts 36echo This script expects precompiled versions of PCCTS binaries 37echo DLG and ANTLR to be in pccts\bin. 38echo The CCCC package contains makefiles to build these under 39echo MSVC, otherwise you can write and contribute makefiles for 40echo BCC32. 41 42:end 43 44