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

NAME

6       pcre-config - program to return PCRE configuration
7

SYNOPSIS

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

DESCRIPTION

15
16       pcre-config  returns  the configuration of the installed PCRE 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 if only one of those libraries  has
20       been built. If an unavailable option is encountered, the "usage" inforā€
21       mation is output.
22

OPTIONS

24
25       --prefix  Writes the directory prefix used in the PCRE installation for
26                 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 PCRE installation for
31                 architecture  dependent files (normally the same as --prefix)
32                 to the standard output.
33
34       --version Writes the version number of the installed PCRE libraries  to
35                 the standard output.
36
37       --libs    Writes  to  the  standard  output  the  command  line options
38                 required to link with the 8-bit PCRE library (-lpcre on  many
39                 systems).
40
41       --libs16  Writes  to  the  standard  output  the  command  line options
42                 required to link with the 16-bit PCRE  library  (-lpcre16  on
43                 many systems).
44
45       --libs32  Writes  to  the  standard  output  the  command  line options
46                 required to link with the 32-bit PCRE  library  (-lpcre32  on
47                 many systems).
48
49       --libs-cpp
50                 Writes  to  the  standard  output  the  command  line options
51                 required to link with PCRE's C++ wrapper  library  (-lpcrecpp
52                 -lpcre on many systems).
53
54       --libs-posix
55                 Writes  to  the  standard  output  the  command  line options
56                 required to  link  with  PCRE's  POSIX  API  wrapper  library
57                 (-lpcreposix -lpcre on many systems).
58
59       --cflags  Writes  to  the  standard  output  the  command  line options
60                 required to compile files that use  PCRE  (this  may  include
61                 some -I options, but is blank on many systems).
62
63       --cflags-posix
64                 Writes  to  the  standard  output  the  command  line options
65                 required to compile files that use PCRE's POSIX  API  wrapper
66                 library  (this  may  include some -I options, but is blank on
67                 many systems).
68

SEE ALSO

70
71       pcre(3)
72

AUTHOR

74
75       This manual page was originally written by Mark Baker  for  the  Debian
76       GNU/Linux  system.  It  has been subsequently revised as a generic PCRE
77       man page.
78

REVISION

80
81       Last updated: 24 June 2012
82
83
84
85PCRE 8.30                       01 January 2012                 PCRE-CONFIG(1)
Impressum