/[pcre]/code/trunk/doc/pcrebuild.3
ViewVC logotype

Diff of /code/trunk/doc/pcrebuild.3

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

revision 99 by ph10, Tue Mar 6 12:27:42 2007 UTC revision 128 by ph10, Tue Mar 20 11:46:50 2007 UTC
# Line 13  obtained by running Line 13  obtained by running
13  .sp  .sp
14    ./configure --help    ./configure --help
15  .sp  .sp
16  The following sections describe certain options whose names begin with --enable  The following sections include descriptions of options whose names begin with
17  or --disable. These settings specify changes to the defaults for the  --enable or --disable. These settings specify changes to the defaults for the
18  \fBconfigure\fP command. Because of the way that \fBconfigure\fP works,  \fBconfigure\fP command. Because of the way that \fBconfigure\fP works,
19  --enable and --disable always come in pairs, so the complementary option always  --enable and --disable always come in pairs, so the complementary option always
20  exists as well, but as it specifies the default, it is not described.  exists as well, but as it specifies the default, it is not described.
# Line 56  character properties, you must add Line 56  character properties, you must add
56  to the \fBconfigure\fP command. This implies UTF-8 support, even if you have  to the \fBconfigure\fP command. This implies UTF-8 support, even if you have
57  not explicitly requested it.  not explicitly requested it.
58  .P  .P
59  Including Unicode property support adds around 90K of tables to the PCRE  Including Unicode property support adds around 30K of tables to the PCRE
60  library, approximately doubling its size. Only the general category properties  library. Only the general category properties such as \fILu\fP and \fINd\fP are
61  such as \fILu\fP and \fINd\fP are supported. Details are given in the  supported. Details are given in the
62  .\" HREF  .\" HREF
63  \fBpcrepattern\fP  \fBpcrepattern\fP
64  .\"  .\"
# Line 137  or four-byte offsets by adding a setting Line 137  or four-byte offsets by adding a setting
137  to the \fBconfigure\fP command. The value given must be 2, 3, or 4. Using  to the \fBconfigure\fP command. The value given must be 2, 3, or 4. Using
138  longer offsets slows down the operation of PCRE because it has to load  longer offsets slows down the operation of PCRE because it has to load
139  additional bytes when handling them.  additional bytes when handling them.
 .P  
 If you build PCRE with an increased link size, test 2 (and test 5 if you are  
 using UTF-8) will fail. Part of the output of these tests is a representation  
 of the compiled pattern, and this changes with the link size.  
140  .  .
141  .SH "AVOIDING EXCESSIVE STACK USAGE"  .SH "AVOIDING EXCESSIVE STACK USAGE"
142  .rs  .rs
# Line 202  constraints. However, you can set a lowe Line 198  constraints. However, you can set a lowe
198  .sp  .sp
199  to the \fBconfigure\fP command. This value can also be overridden at run time.  to the \fBconfigure\fP command. This value can also be overridden at run time.
200  .  .
201    .SH "CREATING CHARACTER TABLES AT BUILD TIME"
202    .rs
203    .sp
204    PCRE uses fixed tables for processing characters whose code values are less
205    than 256. By default, PCRE is built with a set of tables that are distributed
206    in the file \fIpcre_chartables.c.dist\fP. These tables are for ASCII codes
207    only. If you add
208    .sp
209      --enable-rebuild-chartables
210    .sp
211    to the \fBconfigure\fP command, the distributed tables are no longer used.
212    Instead, a program called \fBdftables\fP is compiled and run. This outputs the
213    source for new set of tables, created in the default locale of your C runtime
214    system. (This method of replacing the tables does not work if you are cross
215    compiling, because \fBdftables\fP is run on the local host. If you need to
216    create alternative tables when cross compiling, you will have to do so "by
217    hand".)
218    .
219  .SH "USING EBCDIC CODE"  .SH "USING EBCDIC CODE"
220  .rs  .rs
221  .sp  .sp
# Line 211  compiled to run in an EBCDIC environment Line 225  compiled to run in an EBCDIC environment
225  .sp  .sp
226    --enable-ebcdic    --enable-ebcdic
227  .sp  .sp
228  to the \fBconfigure\fP command.  to the \fBconfigure\fP command. This setting implies
229    --enable-rebuild-chartables.
230  .  .
231  .  .
232  .SH "SEE ALSO"  .SH "SEE ALSO"
# Line 234  Cambridge CB2 3QH, England. Line 249  Cambridge CB2 3QH, England.
249  .rs  .rs
250  .sp  .sp
251  .nf  .nf
252  Last updated: 06 March 2007  Last updated: 20 March 2007
253  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2007 University of Cambridge.
254  .fi  .fi

Legend:
Removed from v.99  
changed lines
  Added in v.128

  ViewVC Help
Powered by ViewVC 1.1.5