1 PCRE-CONFIG(1) General Commands Manual PCRE-CONFIG(1)
6 pcre-config - program to return PCRE configuration
10 pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
11 [--libs16] [--libs32] [--libs-cpp] [--libs-posix]
12 [--cflags] [--cflags-posix]
17 pcre-config returns the configuration of the installed PCRE libraries
18 and the options required to compile a program to use them. Some of the
19 options apply only to the 8-bit, or 16-bit, or 32-bit libraries,
20 respectively, and are not available if only one of those libraries has
21 been built. If an unavailable option is encountered, the "usage" infor-
27 --prefix Writes the directory prefix used in the PCRE installation for
28 architecture independent files (/usr on many systems,
29 /usr/local on some systems) to the standard output.
32 Writes the directory prefix used in the PCRE installation for
33 architecture dependent files (normally the same as --prefix)
34 to the standard output.
36 --version Writes the version number of the installed PCRE libraries to
39 --libs Writes to the standard output the command line options
40 required to link with the 8-bit PCRE library (-lpcre on many
43 --libs16 Writes to the standard output the command line options
44 required to link with the 16-bit PCRE library (-lpcre16 on
47 --libs32 Writes to the standard output the command line options
48 required to link with the 32-bit PCRE library (-lpcre32 on
52 Writes to the standard output the command line options
53 required to link with PCRE's C++ wrapper library (-lpcrecpp
54 -lpcre on many systems).
57 Writes to the standard output the command line options
58 required to link with PCRE's POSIX API wrapper library
59 (-lpcreposix -lpcre on many systems).
61 --cflags Writes to the standard output the command line options
62 required to compile files that use PCRE (this may include
63 some -I options, but is blank on many systems).
66 Writes to the standard output the command line options
67 required to compile files that use PCRE's POSIX API wrapper
68 library (this may include some -I options, but is blank on
79 This manual page was originally written by Mark Baker for the Debian
80 GNU/Linux system. It has been subsequently revised as a generic PCRE
86 Last updated: 24 June 2012