/[pcre]/code/trunk/NON-UNIX-USE
ViewVC logotype

Diff of /code/trunk/NON-UNIX-USE

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

revision 75 by nigel, Sat Feb 24 21:40:37 2007 UTC revision 77 by nigel, Sat Feb 24 21:40:45 2007 UTC
# Line 51  character tables and writes them to that Line 51  character tables and writes them to that
51    
52    rem Mark Tetrode's commands    rem Mark Tetrode's commands
53    rem Compile & run    rem Compile & run
54    cl -DSUPPORT_UTF8 dftables.c    cl -DSUPPORT_UTF8 -DSUPPORT_UCP dftables.c
55    dftables.exe > chartables.c    dftables.exe chartables.c
56    
57  (4) Compile maketables.c, get.c, study.c and pcre.c and link them all  (4) Compile maketables.c, get.c, study.c and pcre.c and link them all
58  together into an object library in whichever form your system keeps such  together into an object library in whichever form your system keeps such
# Line 62  have to do this once for each type. Line 62  have to do this once for each type.
62    
63    rem Mark Tetrode's commands, for a static library    rem Mark Tetrode's commands, for a static library
64    rem Compile & lib    rem Compile & lib
65    cl -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 /c maketables.c get.c study.c pcre.c    cl -DSUPPORT_UTF8 -DSUPPORT_UCP -DPOSIX_MALLOC_THRESHOLD=10 /c maketables.c get.c study.c pcre.c
66    lib /OUT:pcre.lib maketables.obj get.obj study.obj pcre.obj    lib /OUT:pcre.lib maketables.obj get.obj study.obj pcre.obj
67    
68  (5) Similarly, compile pcreposix.c and link it (on its own) as the pcreposix  (5) Similarly, compile pcreposix.c and link it (on its own) as the pcreposix
# Line 70  library. Line 70  library.
70    
71    rem Mark Tetrode's commands, for a static library    rem Mark Tetrode's commands, for a static library
72    rem Compile & lib    rem Compile & lib
73    cl -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 /c pcreposix.c    cl -DSUPPORT_UTF8 -DSUPPORT_UCP -DPOSIX_MALLOC_THRESHOLD=10 /c pcreposix.c
74    lib /OUT:pcreposix.lib pcreposix.obj    lib /OUT:pcreposix.lib pcreposix.obj
75    
76  (6) Compile the test program pcretest.c. This needs the functions in the  (6) Compile the test program pcretest.c. This needs the functions in the
# Line 78  pcre and pcreposix libraries when linkin Line 78  pcre and pcreposix libraries when linkin
78    
79    rem Mark Tetrode's commands    rem Mark Tetrode's commands
80    rem compile & link    rem compile & link
81    cl pcretest.c pcre.lib pcreposix.lib    cl /F0x400000 pcretest.c pcre.lib pcreposix.lib
82    
83  (7) Run pcretest on the testinput files in the testdata directory, and check  (7) Run pcretest on the testinput files in the testdata directory, and check
84  that the output matches the corresponding testoutput files. You must use the  that the output matches the corresponding testoutput files. You must use the
# Line 87  format, with just LF characters as line Line 87  format, with just LF characters as line
87  to change this if your system uses a different convention.  to change this if your system uses a different convention.
88    
89    rem Mark Tetrode's commands    rem Mark Tetrode's commands
   rem Make a change, i.e. space, backspace, and save again - do this for all  
   rem to change UNIX to Win, \n to \n\r  
   write testoutput1  
   write testoutput2  
   write testoutput3  
   write testoutput4  
   write testoutput5  
90    pcretest testdata\testinput1 testdata\myoutput1    pcretest testdata\testinput1 testdata\myoutput1
91    windiff testdata\testoutput1 testdata\myoutput1    windiff testdata\testoutput1 testdata\myoutput1
92    pcretest -i testdata\testinput2 testdata\myoutput2    pcretest -i testdata\testinput2 testdata\myoutput2
# Line 104  to change this if your system uses a dif Line 97  to change this if your system uses a dif
97    windiff testdata\testoutput4 testdata\myoutput4    windiff testdata\testoutput4 testdata\myoutput4
98    pcretest testdata\testinput5 testdata\myoutput5    pcretest testdata\testinput5 testdata\myoutput5
99    windiff testdata\testoutput5 testdata\myoutput5    windiff testdata\testoutput5 testdata\myoutput5
100      pcretest testdata\testinput6 testdata\myoutput6
101      windiff testdata\testoutput6 testdata\myoutput6
102    
103    
104  FURTHER REMARKS  FURTHER REMARKS

Legend:
Removed from v.75  
changed lines
  Added in v.77

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12