• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<title>pcre-config specification</title>
4</head>
5<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6<h1>pcre-config man page</h1>
7<p>
8Return to the <a href="index.html">PCRE index page</a>.
9</p>
10<p>
11This page is part of the PCRE HTML documentation. It was generated automatically
12from the original man page. If there is any nonsense in it, please consult the
13man page, in case the conversion went wrong.
14<br>
15<ul>
16<li><a name="TOC1" href="#SEC1">SYNOPSIS</a>
17<li><a name="TOC2" href="#SEC2">DESCRIPTION</a>
18<li><a name="TOC3" href="#SEC3">OPTIONS</a>
19<li><a name="TOC4" href="#SEC4">SEE ALSO</a>
20<li><a name="TOC5" href="#SEC5">AUTHOR</a>
21<li><a name="TOC6" href="#SEC6">REVISION</a>
22</ul>
23<br><a name="SEC1" href="#TOC1">SYNOPSIS</a><br>
24<P>
25<b>pcre-config  [--prefix] [--exec-prefix] [--version] [--libs]</b>
26<b>            [--libs16] [--libs32] [--libs-cpp] [--libs-posix]</b>
27<b>            [--cflags] [--cflags-posix]</b>
28</P>
29<br><a name="SEC2" href="#TOC1">DESCRIPTION</a><br>
30<P>
31<b>pcre-config</b> returns the configuration of the installed PCRE
32libraries and the options required to compile a program to use them. Some of
33the options apply only to the 8-bit, or 16-bit, or 32-bit libraries,
34respectively, and are
35not available if only one of those libraries has been built. If an unavailable
36option is encountered, the "usage" information is output.
37</P>
38<br><a name="SEC3" href="#TOC1">OPTIONS</a><br>
39<P>
40<b>--prefix</b>
41Writes the directory prefix used in the PCRE installation for architecture
42independent files (<i>/usr</i> on many systems, <i>/usr/local</i> on some
43systems) to the standard output.
44</P>
45<P>
46<b>--exec-prefix</b>
47Writes the directory prefix used in the PCRE installation for architecture
48dependent files (normally the same as <b>--prefix</b>) to the standard output.
49</P>
50<P>
51<b>--version</b>
52Writes the version number of the installed PCRE libraries to the standard
53output.
54</P>
55<P>
56<b>--libs</b>
57Writes to the standard output the command line options required to link
58with the 8-bit PCRE library (<b>-lpcre</b> on many systems).
59</P>
60<P>
61<b>--libs16</b>
62Writes to the standard output the command line options required to link
63with the 16-bit PCRE library (<b>-lpcre16</b> on many systems).
64</P>
65<P>
66<b>--libs32</b>
67Writes to the standard output the command line options required to link
68with the 32-bit PCRE library (<b>-lpcre32</b> on many systems).
69</P>
70<P>
71<b>--libs-cpp</b>
72Writes to the standard output the command line options required to link with
73PCRE's C++ wrapper library (<b>-lpcrecpp</b> <b>-lpcre</b> on many
74systems).
75</P>
76<P>
77<b>--libs-posix</b>
78Writes to the standard output the command line options required to link with
79PCRE's POSIX API wrapper library (<b>-lpcreposix</b> <b>-lpcre</b> on many
80systems).
81</P>
82<P>
83<b>--cflags</b>
84Writes to the standard output the command line options required to compile
85files that use PCRE (this may include some <b>-I</b> options, but is blank on
86many systems).
87</P>
88<P>
89<b>--cflags-posix</b>
90Writes to the standard output the command line options required to compile
91files that use PCRE's POSIX API wrapper library (this may include some <b>-I</b>
92options, but is blank on many systems).
93</P>
94<br><a name="SEC4" href="#TOC1">SEE ALSO</a><br>
95<P>
96<b>pcre(3)</b>
97</P>
98<br><a name="SEC5" href="#TOC1">AUTHOR</a><br>
99<P>
100This manual page was originally written by Mark Baker for the Debian GNU/Linux
101system. It has been subsequently revised as a generic PCRE man page.
102</P>
103<br><a name="SEC6" href="#TOC1">REVISION</a><br>
104<P>
105Last updated: 24 June 2012
106<br>
107<p>
108Return to the <a href="index.html">PCRE index page</a>.
109</p>
110