11Building PCRE2 without using autotools
2- --------------------------------------
2+ ======================================
33
44This document contains the following sections:
55
@@ -16,7 +16,8 @@ This document contains the following sections:
1616 Building PCRE2 under VMS
1717
1818
19- GENERAL
19+ General
20+ -------
2021
2122The source of the PCRE2 libraries consists entirely of code written in Standard
2223C, and so should compile successfully on any system that has a Standard C
@@ -37,7 +38,8 @@ provided for those who build PCRE2 without using "configure" or CMake. If you
3738use "configure" or CMake, the .generic versions are not used.
3839
3940
40- GENERIC INSTRUCTIONS FOR THE PCRE2 C LIBRARIES
41+ Generic instructions for the PCRE2 C libraries
42+ ----------------------------------------------
4143
4244There are three possible PCRE2 libraries, each handling data with a specific
4345code unit width: 8, 16, or 32 bits. You can build any combination of them. The
@@ -207,20 +209,23 @@ example.
207209 defining SUPPORT_JIT, pcre2grep does not try to make use of JIT.
208210
209211
210- STACK SIZE IN WINDOWS ENVIRONMENTS
212+ Stack size in Windows environments
213+ ----------------------------------
211214
212215Prior to release 10.30 the default system stack size of 1MiB in some Windows
213216environments caused issues with some tests. This should no longer be the case
214217for 10.30 and later releases.
215218
216219
217- LINKING PROGRAMS IN WINDOWS ENVIRONMENTS
220+ Linking programs in Windows environments
221+ ----------------------------------------
218222
219223If you want to statically link a program against a PCRE2 library in the form of
220224a non-dll .a file, you must define PCRE2_STATIC before including src/pcre2.h.
221225
222226
223- CALLING CONVENTIONS IN WINDOWS ENVIRONMENTS
227+ Calling conventions in Windows environments
228+ -------------------------------------------
224229
225230It is possible to compile programs to use different calling conventions using
226231MSVC. Search the web for "calling conventions" for more information. To make it
@@ -231,7 +236,8 @@ not set, it defaults to empty; the default calling convention is then used
231236(which is what is wanted most of the time).
232237
233238
234- COMMENTS ABOUT WIN32 BUILDS (see also "BUILDING PCRE2 ON WINDOWS WITH CMAKE")
239+ Comments about Win32 builds (see also "Building PCRE2 on Windows with CMake")
240+ ---------------------------
235241
236242There are two ways of building PCRE2 using the "configure, make, make install"
237243paradigm on Windows systems: using MinGW or using Cygwin. These are not at all
@@ -293,7 +299,8 @@ newline option that includes LF as a valid newline, it may be necessary to
293299change the line terminators in the test files to get some of the tests to work.
294300
295301
296- BUILDING PCRE2 ON WINDOWS WITH CMAKE
302+ Building PCRE2 on Windows with CMake
303+ ------------------------------------
297304
298305CMake is an alternative configuration facility that can be used instead of
299306"configure". CMake creates project files (make files, solution files, etc.)
@@ -364,7 +371,8 @@ be deleted.
364371 Regardless of build system used, `ctest` will run the tests.
365372
366373
367- BUILDING PCRE2 ON WINDOWS WITH VISUAL STUDIO
374+ Building PCRE2 on Windows with Visual Studio
375+ --------------------------------------------
368376
369377The code currently cannot be compiled without an inttypes.h header, which is
370378available only with Visual Studio 2013 or newer. However, this portable and
@@ -376,7 +384,8 @@ alternative:
376384Just rename it and drop it into the top level of the build tree.
377385
378386
379- TESTING WITH RUNTEST.BAT
387+ Testing with RunTest.bat
388+ ------------------------
380389
381390If configured with CMake, building the test project ("make test" or building
382391ALL_TESTS in Visual Studio) creates (and runs) pcre2_test.bat (and depending
@@ -410,7 +419,8 @@ Otherwise:
410419To independently test the just-in-time compiler, run pcre2_jit_test.exe.
411420
412421
413- BUILDING PCRE2 ON NATIVE Z/OS AND Z/VM
422+ Building PCRE2 on native z/OS and z/VM
423+ --------------------------------------
414424
415425z/OS and z/VM are operating systems for mainframe computers, produced by IBM.
416426The character code used is EBCDIC, not ASCII or Unicode. In z/OS, UNIX APIs and
@@ -429,7 +439,8 @@ z/OS file formats. The port provides an API for LE languages such as COBOL and
429439for the z/OS and z/VM versions of the Rexx languages.
430440
431441
432- BUILDING PCRE2 UNDER VMS
442+ Building PCRE2 under VMS
443+ ------------------------
433444
434445Alexey Chuphin has contributed some auxiliary files for building PCRE2 under
435446OpenVMS. They are in the "vms" directory in the distribution tarball. Please
0 commit comments