summaryrefslogtreecommitdiff
path: root/doc/pcre-config.txt
blob: 977e46868a86949992051e8c99efdad9bac996ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
PCRE-CONFIG(1)              General Commands Manual             PCRE-CONFIG(1)



NAME
       pcre-config - program to return PCRE configuration

SYNOPSIS

       pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
                   [--libs16] [--libs32] [--libs-cpp] [--libs-posix]
                   [--cflags] [--cflags-posix]


DESCRIPTION

       pcre-config  returns  the configuration of the installed PCRE libraries
       and the options required to compile a program to use them. Some of  the
       options  apply  only  to the 8-bit, or 16-bit, or 32-bit libraries, re-
       spectively, and are not available if only one of  those  libraries  has
       been built. If an unavailable option is encountered, the "usage" infor-
       mation is output.


OPTIONS

       --prefix  Writes the directory prefix used in the PCRE installation for
                 architecture   independent   files  (/usr  on  many  systems,
                 /usr/local on some systems) to the standard output.

       --exec-prefix
                 Writes the directory prefix used in the PCRE installation for
                 architecture  dependent files (normally the same as --prefix)
                 to the standard output.

       --version Writes the version number of the installed PCRE libraries  to
                 the standard output.

       --libs    Writes  to  the  standard output the command line options re-
                 quired to link with the 8-bit PCRE library  (-lpcre  on  many
                 systems).

       --libs16  Writes  to  the  standard output the command line options re-
                 quired to link with the 16-bit PCRE library (-lpcre16 on many
                 systems).

       --libs32  Writes  to  the  standard output the command line options re-
                 quired to link with the 32-bit PCRE library (-lpcre32 on many
                 systems).

       --libs-cpp
                 Writes  to  the  standard output the command line options re-
                 quired to link with PCRE's  C++  wrapper  library  (-lpcrecpp
                 -lpcre on many systems).

       --libs-posix
                 Writes  to  the  standard output the command line options re-
                 quired  to  link  with  PCRE's  POSIX  API  wrapper   library
                 (-lpcreposix -lpcre on many systems).

       --cflags  Writes  to  the  standard output the command line options re-
                 quired to compile files that use PCRE (this may include  some
                 -I options, but is blank on many systems).

       --cflags-posix
                 Writes  to  the  standard output the command line options re-
                 quired to compile files that use PCRE's POSIX API wrapper li-
                 brary (this may include some -I options, but is blank on many
                 systems).


SEE ALSO

       pcre(3)


AUTHOR

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


REVISION

       Last updated: 24 June 2012