| 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>
|
| 8 |
Return to the <a href="index.html">PCRE index page</a>.
|
| 9 |
</p>
|
| 10 |
<p>
|
| 11 |
This page is part of the PCRE HTML documentation. It was generated automatically
|
| 12 |
from the original man page. If there is any nonsense in it, please consult the
|
| 13 |
man 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] [--libs-cpp] [--libs-posix] [--cflags]</b>
|
| 27 |
<b>[--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
|
| 32 |
libraries and the options required to compile a program to use them. Some of
|
| 33 |
the options apply only to the 8-bit or 16-bit libraries, respectively, and are
|
| 34 |
not available if only one of those libraries has been built. If an unavailable
|
| 35 |
option is encountered, the "usage" information is output.
|
| 36 |
</P>
|
| 37 |
<br><a name="SEC3" href="#TOC1">OPTIONS</a><br>
|
| 38 |
<P>
|
| 39 |
<b>--prefix</b>
|
| 40 |
Writes the directory prefix used in the PCRE installation for architecture
|
| 41 |
independent files (<i>/usr</i> on many systems, <i>/usr/local</i> on some
|
| 42 |
systems) to the standard output.
|
| 43 |
</P>
|
| 44 |
<P>
|
| 45 |
<b>--exec-prefix</b>
|
| 46 |
Writes the directory prefix used in the PCRE installation for architecture
|
| 47 |
dependent files (normally the same as <b>--prefix</b>) to the standard output.
|
| 48 |
</P>
|
| 49 |
<P>
|
| 50 |
<b>--version</b>
|
| 51 |
Writes the version number of the installed PCRE libraries to the standard
|
| 52 |
output.
|
| 53 |
</P>
|
| 54 |
<P>
|
| 55 |
<b>--libs</b>
|
| 56 |
Writes to the standard output the command line options required to link
|
| 57 |
with the 8-bit PCRE library (<b>-lpcre</b> on many systems).
|
| 58 |
</P>
|
| 59 |
<P>
|
| 60 |
<b>--libs16</b>
|
| 61 |
Writes to the standard output the command line options required to link
|
| 62 |
with the 16-bit PCRE library (<b>-lpcre16</b> on many systems).
|
| 63 |
</P>
|
| 64 |
<P>
|
| 65 |
<b>--libs-cpp</b>
|
| 66 |
Writes to the standard output the command line options required to link with
|
| 67 |
PCRE's C++ wrapper library (<b>-lpcrecpp</b> <b>-lpcre</b> on many
|
| 68 |
systems).
|
| 69 |
</P>
|
| 70 |
<P>
|
| 71 |
<b>--libs-posix</b>
|
| 72 |
Writes to the standard output the command line options required to link with
|
| 73 |
PCRE's POSIX API wrapper library (<b>-lpcreposix</b> <b>-lpcre</b> on many
|
| 74 |
systems).
|
| 75 |
</P>
|
| 76 |
<P>
|
| 77 |
<b>--cflags</b>
|
| 78 |
Writes to the standard output the command line options required to compile
|
| 79 |
files that use PCRE (this may include some <b>-I</b> options, but is blank on
|
| 80 |
many systems).
|
| 81 |
</P>
|
| 82 |
<P>
|
| 83 |
<b>--cflags-posix</b>
|
| 84 |
Writes to the standard output the command line options required to compile
|
| 85 |
files that use PCRE's POSIX API wrapper library (this may include some <b>-I</b>
|
| 86 |
options, but is blank on many systems).
|
| 87 |
</P>
|
| 88 |
<br><a name="SEC4" href="#TOC1">SEE ALSO</a><br>
|
| 89 |
<P>
|
| 90 |
<b>pcre(3)</b>
|
| 91 |
</P>
|
| 92 |
<br><a name="SEC5" href="#TOC1">AUTHOR</a><br>
|
| 93 |
<P>
|
| 94 |
This manual page was originally written by Mark Baker for the Debian GNU/Linux
|
| 95 |
system. It has been subsequently revised as a generic PCRE man page.
|
| 96 |
</P>
|
| 97 |
<br><a name="SEC6" href="#TOC1">REVISION</a><br>
|
| 98 |
<P>
|
| 99 |
Last updated: 01 January 2012
|
| 100 |
<br>
|
| 101 |
<p>
|
| 102 |
Return to the <a href="index.html">PCRE index page</a>.
|
| 103 |
</p>
|