diff options
author | nigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-02-24 21:40:45 +0000 |
---|---|---|
committer | nigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-02-24 21:40:45 +0000 |
commit | 97cb05691b9cabed35f1a853c74d48c692aaabcf (patch) | |
tree | cb7c68a44f0b79c6d90d9a18a7ec640c8435a5e7 /NON-UNIX-USE | |
parent | 455fcc7e13a175722acfd2cca6ab99caa9606a22 (diff) | |
download | pcre-97cb05691b9cabed35f1a853c74d48c692aaabcf.tar.gz |
Load pcre-6.0 into code/trunk.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@77 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'NON-UNIX-USE')
-rw-r--r-- | NON-UNIX-USE | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/NON-UNIX-USE b/NON-UNIX-USE index f6280af..6612ab2 100644 --- a/NON-UNIX-USE +++ b/NON-UNIX-USE @@ -51,8 +51,8 @@ character tables and writes them to that file. rem Mark Tetrode's commands rem Compile & run - cl -DSUPPORT_UTF8 dftables.c - dftables.exe > chartables.c + cl -DSUPPORT_UTF8 -DSUPPORT_UCP dftables.c + dftables.exe chartables.c (4) Compile maketables.c, get.c, study.c and pcre.c and link them all together into an object library in whichever form your system keeps such @@ -62,7 +62,7 @@ have to do this once for each type. rem Mark Tetrode's commands, for a static library rem Compile & lib - 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 lib /OUT:pcre.lib maketables.obj get.obj study.obj pcre.obj (5) Similarly, compile pcreposix.c and link it (on its own) as the pcreposix @@ -70,7 +70,7 @@ library. rem Mark Tetrode's commands, for a static library rem Compile & lib - cl -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 /c pcreposix.c + cl -DSUPPORT_UTF8 -DSUPPORT_UCP -DPOSIX_MALLOC_THRESHOLD=10 /c pcreposix.c lib /OUT:pcreposix.lib pcreposix.obj (6) Compile the test program pcretest.c. This needs the functions in the @@ -78,7 +78,7 @@ pcre and pcreposix libraries when linking. rem Mark Tetrode's commands rem compile & link - cl pcretest.c pcre.lib pcreposix.lib + cl /F0x400000 pcretest.c pcre.lib pcreposix.lib (7) Run pcretest on the testinput files in the testdata directory, and check that the output matches the corresponding testoutput files. You must use the @@ -87,13 +87,6 @@ format, with just LF characters as line terminators. You may need to edit them to change this if your system uses a different convention. 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 pcretest testdata\testinput1 testdata\myoutput1 windiff testdata\testoutput1 testdata\myoutput1 pcretest -i testdata\testinput2 testdata\myoutput2 @@ -104,6 +97,8 @@ to change this if your system uses a different convention. windiff testdata\testoutput4 testdata\myoutput4 pcretest testdata\testinput5 testdata\myoutput5 windiff testdata\testoutput5 testdata\myoutput5 + pcretest testdata\testinput6 testdata\myoutput6 + windiff testdata\testoutput6 testdata\myoutput6 FURTHER REMARKS |