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