/[pcre]/code/trunk/makevp.bat
ViewVC logotype

Diff of /code/trunk/makevp.bat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 100 by nigel, Fri Mar 2 13:10:43 2007 UTC revision 101 by ph10, Tue Mar 6 15:19:44 2007 UTC
# Line 1  Line 1 
1  @echo off  @echo off
2    
3    :: AH 20-12-06 modified for new PCRE-7.0 and VP/BCC
4    
5  REM This file was contributed by Alexander Tokarev for building PCRE for use  REM This file was contributed by Alexander Tokarev for building PCRE for use
6  REM with Virtual Pascal. It has not been tested with the latest PCRE release.  REM with Virtual Pascal. It has not been tested with the latest PCRE release.
7    
8  REM CHANGE THIS FOR YOUR BORLAND C++ COMPILER PATH  REM CHANGE THIS FOR YOUR BORLAND C++ COMPILER PATH
9    
10  SET BORLAND=c:\usr\apps\bcc55  SET BORLAND=F:\bcc
11    SET PATH=%PATH%;%BORLAND%\bin;f:\tasm\bin
12  sh configure  SET PCRE_VER=70
13    
14  bcc32 -DDFTABLES -DSTATIC -DVPCOMPAT -I%BORLAND%\include -L%BORLAND%\lib dftables.c  :: sh configure
15    
16  dftables > chartables.c  bcc32 -DDFTABLES -DSTATIC -I%BORLAND%\include -L%BORLAND%\lib dftables.c
17    :: bcc32 -DDFTABLES -DSTATIC -DVPCOMPAT -I%BORLAND%\include -L%BORLAND%\lib dftables.c
18  bcc32 -c -RT- -y- -v- -u- -P- -O2 -5 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include get.c maketables.c pcre.c study.c  IF ERRORLEVEL 1 EXIT
19    
20  tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset  :: dftables > chartables.c
21  tlib pcre.lib +get.obj +maketables.obj +pcre.obj +study.obj +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj  dftables pcre_chartables.c
22    
23    REM compile and link the PCRE library into lib: option -B for ASM compile works too
24    bcc32 -a4 -c -RT- -y- -v- -u- -R- -Q- -X -d -fp -ff -P- -O2 -Oc -Ov -3 -w-8004 -w-8064 -w-8065 -w-8012 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include @!compile.txt
25    :: bcc32 -c -RT- -y- -v- -u- -P- -O2 -5 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include get.c maketables.c pcre.c study.c
26    IF ERRORLEVEL 1 EXIT
27    
28    tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset *memcmp *strlen
29    :: tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset
30    IF ERRORLEVEL 1 EXIT
31    tlib pcre%PCRE_VER%.lib @!linklib.txt +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj +memcmp.obj +strlen.obj
32    :: tlib pcre.lib +get.obj +maketables.obj +pcre.obj +study.obj +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj
33    IF ERRORLEVEL 1 EXIT
34    
35  del *.obj *.exe *.tds *.bak >nul 2>nul  del *.obj *.tds *.bak >nul 2>nul
36    
37  echo ---  echo ---
38  echo Now the library should be complete. Please check all messages above.  echo Now the library should be complete. Please check all messages above.

Legend:
Removed from v.100  
changed lines
  Added in v.101

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12