1PCRE2-CONFIG(1)             General Commands Manual            PCRE2-CONFIG(1)
2
3
4

NAME

6       pcre2-config - program to return PCRE2 configuration
7

SYNOPSIS

9
10       pcre2-config [--prefix] [--exec-prefix] [--version]
11                    [--libs8] [--libs16] [--libs32] [--libs-posix]
12                    [--cflags] [--cflags-posix]
13

DESCRIPTION

15
16       pcre2-config returns the configuration of the installed PCRE2 libraries
17       and the options required to compile a program to use them. Some of  the
18       options  apply  only  to  the  8-bit,  or  16-bit, or 32-bit libraries,
19       respectively, and are not available for libraries that  have  not  been
20       built. If an unavailable option is encountered, the "usage" information
21       is output.
22

OPTIONS

24
25       --prefix  Writes the directory prefix used in  the  PCRE2  installation
26                 for  architecture  independent  files  (/usr on many systems,
27                 /usr/local on some systems) to the standard output.
28
29       --exec-prefix
30                 Writes the directory prefix used in  the  PCRE2  installation
31                 for architecture dependent files (normally the same as --pre‐
32                 fix) to the standard output.
33
34       --version Writes the version number of the installed PCRE2 libraries to
35                 the standard output.
36
37       --libs8   Writes  to  the  standard  output  the  command  line options
38                 required to link with the 8-bit PCRE2 library  (-lpcre2-8  on
39                 many systems).
40
41       --libs16  Writes  to  the  standard  output  the  command  line options
42                 required to link with the 16-bit PCRE2 library (-lpcre2-16 on
43                 many systems).
44
45       --libs32  Writes  to  the  standard  output  the  command  line options
46                 required to link with the 32-bit PCRE2 library (-lpcre2-32 on
47                 many systems).
48
49       --libs-posix
50                 Writes  to  the  standard  output  the  command  line options
51                 required to link  with  PCRE2's  POSIX  API  wrapper  library
52                 (-lpcre2-posix -lpcre2-8 on many systems).
53
54       --cflags  Writes  to  the  standard  output  the  command  line options
55                 required to compile files that use PCRE2  (this  may  include
56                 some -I options, but is blank on many systems).
57
58       --cflags-posix
59                 Writes  to  the  standard  output  the  command  line options
60                 required to compile files that use PCRE2's POSIX API  wrapper
61                 library  (this  may  include some -I options, but is blank on
62                 many systems).
63

SEE ALSO

65
66       pcre2(3)
67

AUTHOR

69
70       This manual page was originally written by Mark Baker  for  the  Debian
71       GNU/Linux  system.  It has been subsequently revised as a generic PCRE2
72       man page.
73

REVISION

75
76       Last updated: 28 September 2014
77
78
79
80PCRE2 10.00                    28 September 2014               PCRE2-CONFIG(1)
Impressum