| 23 |
<br><a name="SEC1" href="#TOC1">SYNOPSIS</a><br> |
<br><a name="SEC1" href="#TOC1">SYNOPSIS</a><br> |
| 24 |
<P> |
<P> |
| 25 |
<b>pcre-config [--prefix] [--exec-prefix] [--version] [--libs]</b> |
<b>pcre-config [--prefix] [--exec-prefix] [--version] [--libs]</b> |
| 26 |
<b>[--libs-posix] [--cflags] [--cflags-posix]</b> |
<b>[--libs16] [--libs-cpp] [--libs-posix] [--cflags] </b> |
| 27 |
|
<b>[--cflags-posix]</b> |
| 28 |
</P> |
</P> |
| 29 |
<br><a name="SEC2" href="#TOC1">DESCRIPTION</a><br> |
<br><a name="SEC2" href="#TOC1">DESCRIPTION</a><br> |
| 30 |
<P> |
<P> |
| 31 |
<b>pcre-config</b> returns the configuration of the installed PCRE |
<b>pcre-config</b> returns the configuration of the installed PCRE |
| 32 |
libraries and the options required to compile a program to use them. |
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> |
</P> |
| 37 |
<br><a name="SEC3" href="#TOC1">OPTIONS</a><br> |
<br><a name="SEC3" href="#TOC1">OPTIONS</a><br> |
| 38 |
<P> |
<P> |
| 54 |
<P> |
<P> |
| 55 |
<b>--libs</b> |
<b>--libs</b> |
| 56 |
Writes to the standard output the command line options required to link |
Writes to the standard output the command line options required to link |
| 57 |
with PCRE (<b>-lpcre</b> on many systems). |
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> |
</P> |
| 70 |
<P> |
<P> |
| 71 |
<b>--libs-posix</b> |
<b>--libs-posix</b> |
| 72 |
Writes to the standard output the command line options required to link with |
Writes to the standard output the command line options required to link with |
| 73 |
the PCRE posix emulation library (<b>-lpcreposix</b> <b>-lpcre</b> on many |
PCRE's POSIX API wrapper library (<b>-lpcreposix</b> <b>-lpcre</b> on many |
| 74 |
systems). |
systems). |
| 75 |
</P> |
</P> |
| 76 |
<P> |
<P> |
| 82 |
<P> |
<P> |
| 83 |
<b>--cflags-posix</b> |
<b>--cflags-posix</b> |
| 84 |
Writes to the standard output the command line options required to compile |
Writes to the standard output the command line options required to compile |
| 85 |
files that use the PCRE posix emulation library (this may include some <b>-I</b> |
files that use PCRE's POSIX API wrapper library (this may include some <b>-I</b> |
| 86 |
options, but is blank on many systems). |
options, but is blank on many systems). |
| 87 |
</P> |
</P> |
| 88 |
<br><a name="SEC4" href="#TOC1">SEE ALSO</a><br> |
<br><a name="SEC4" href="#TOC1">SEE ALSO</a><br> |
| 92 |
<br><a name="SEC5" href="#TOC1">AUTHOR</a><br> |
<br><a name="SEC5" href="#TOC1">AUTHOR</a><br> |
| 93 |
<P> |
<P> |
| 94 |
This manual page was originally written by Mark Baker for the Debian GNU/Linux |
This manual page was originally written by Mark Baker for the Debian GNU/Linux |
| 95 |
system. It has been slightly revised as a generic PCRE man page. |
system. It has been subsequently revised as a generic PCRE man page. |
| 96 |
</P> |
</P> |
| 97 |
<br><a name="SEC6" href="#TOC1">REVISION</a><br> |
<br><a name="SEC6" href="#TOC1">REVISION</a><br> |
| 98 |
<P> |
<P> |
| 99 |
Last updated: 18 April 2007 |
Last updated: 01 January 2012 |
| 100 |
<br> |
<br> |
| 101 |
<p> |
<p> |
| 102 |
Return to the <a href="index.html">PCRE index page</a>. |
Return to the <a href="index.html">PCRE index page</a>. |