1@echo off
2
3REM This file was contributed by Alexander Tokarev for building PCRE for use
4REM with Virtual Pascal. It has not been tested with the latest PCRE release.
5
6REM CHANGE THIS FOR YOUR BORLAND C++ COMPILER PATH
7
8SET BORLAND=c:\usr\apps\bcc55
9
10sh configure
11
12bcc32 -DDFTABLES -DSTATIC -DVPCOMPAT -I%BORLAND%\include -L%BORLAND%\lib dftables.c
13
14dftables > chartables.c
15
16bcc32 -c -RT- -y- -v- -u- -P- -O2 -5 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include get.c maketables.c pcre.c study.c
17
18tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset
19tlib pcre.lib +get.obj +maketables.obj +pcre.obj +study.obj +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj
20
21del *.obj *.exe *.tds *.bak >nul 2>nul
22
23echo ---
24echo Now the library should be complete. Please check all messages above.
25echo Don't care for warnings, it's OK.
26