| 9 |
Building for virtual Pascal |
Building for virtual Pascal |
| 10 |
Stack size in Windows environments |
Stack size in Windows environments |
| 11 |
Comments about Win32 builds |
Comments about Win32 builds |
| 12 |
Building PCRE with Cmake |
Building PCRE with CMake |
| 13 |
Building under Windows with BCC5.5 |
Building under Windows with BCC5.5 |
| 14 |
Building PCRE on OpenVMS |
Building PCRE on OpenVMS |
| 15 |
|
|
| 31 |
successfully on any system that has a Standard C compiler and library. The C++ |
successfully on any system that has a Standard C compiler and library. The C++ |
| 32 |
wrapper functions are a separate issue (see below). |
wrapper functions are a separate issue (see below). |
| 33 |
|
|
| 34 |
The PCRE distribution contains some experimental support for "cmake", but this |
The PCRE distribution includes support for CMake. This support is relatively |
| 35 |
is incomplete and not fully documented. However if you are a "cmake" user you |
new, but has already been used successfully to build PCRE in multiple build |
| 36 |
might like to try building with "cmake". There are some instructions in the |
environments on Windows. There are some instructions in the section entitled |
| 37 |
section entitled "Building PCRE with Cmake" below. |
"Building PCRE with CMake" below. |
| 38 |
|
|
| 39 |
|
|
| 40 |
GENERIC INSTRUCTIONS FOR THE PCRE C LIBRARY |
GENERIC INSTRUCTIONS FOR THE PCRE C LIBRARY |
| 169 |
have been cases where the test program has just died silently. See your linker |
have been cases where the test program has just died silently. See your linker |
| 170 |
documentation for how to increase stack size if you experience problems. The |
documentation for how to increase stack size if you experience problems. The |
| 171 |
Linux default of 8Mb is a reasonable choice for the stack, though even that can |
Linux default of 8Mb is a reasonable choice for the stack, though even that can |
| 172 |
be too small for some pattern/subject combinations. There is more about stack |
be too small for some pattern/subject combinations. |
|
usage in the "pcrestack" documentation. |
|
| 173 |
|
|
| 174 |
|
PCRE has a compile configuration option to disable the use of stack for |
| 175 |
|
recursion so that heap is used instead. However, pattern matching is |
| 176 |
|
significantly slower when this is done. There is more about stack usage in the |
| 177 |
|
"pcrestack" documentation. |
| 178 |
|
|
| 179 |
COMMENTS ABOUT WIN32 BUILDS |
|
| 180 |
|
COMMENTS ABOUT WIN32 BUILDS (see also "BUILDING PCRE WITH CMAKE" below) |
| 181 |
|
|
| 182 |
There are two ways of building PCRE using the "configure, make, make install" |
There are two ways of building PCRE using the "configure, make, make install" |
| 183 |
paradigm on Windows systems: using MinGW or using Cygwin. These are not at all |
paradigm on Windows systems: using MinGW or using Cygwin. These are not at all |
| 254 |
|
|
| 255 |
BUILDING PCRE WITH CMAKE |
BUILDING PCRE WITH CMAKE |
| 256 |
|
|
| 257 |
These instructions were contributed by a PCRE user. |
CMake is an alternative build facility that can be used instead of the |
| 258 |
|
traditional Unix "configure". CMake version 2.4.7 supports Borland makefiles, |
| 259 |
|
MinGW makefiles, MSYS makefiles, NMake makefiles, UNIX makefiles, Visual Studio |
| 260 |
|
6, Visual Studio 7, Visual Studio 8, and Watcom W8. The following instructions |
| 261 |
|
were contributed by a PCRE user. |
| 262 |
|
|
| 263 |
1. Download CMake 2.4.7 or above from http://www.cmake.org/, install and ensure |
1. Download CMake 2.4.7 or above from http://www.cmake.org/, install and ensure |
| 264 |
that cmake\bin is on your path. |
that cmake\bin is on your path. |
| 384 |
$! |
$! |
| 385 |
========================= |
========================= |
| 386 |
|
|
| 387 |
Last Updated: 17 September 2007 |
Last Updated: 21 September 2007 |
| 388 |
**** |
**** |