xref: /aosp_15_r20/external/pcre/doc/html/pcre2-config.html (revision 22dc650d8ae982c6770746019a6f94af92b0f024)
1*22dc650dSSadaf Ebrahimi<html>
2*22dc650dSSadaf Ebrahimi<head>
3*22dc650dSSadaf Ebrahimi<title>pcre2-config specification</title>
4*22dc650dSSadaf Ebrahimi</head>
5*22dc650dSSadaf Ebrahimi<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6*22dc650dSSadaf Ebrahimi<h1>pcre2-config man page</h1>
7*22dc650dSSadaf Ebrahimi<p>
8*22dc650dSSadaf EbrahimiReturn to the <a href="index.html">PCRE2 index page</a>.
9*22dc650dSSadaf Ebrahimi</p>
10*22dc650dSSadaf Ebrahimi<p>
11*22dc650dSSadaf EbrahimiThis page is part of the PCRE2 HTML documentation. It was generated
12*22dc650dSSadaf Ebrahimiautomatically from the original man page. If there is any nonsense in it,
13*22dc650dSSadaf Ebrahimiplease consult the man page, in case the conversion went wrong.
14*22dc650dSSadaf Ebrahimi<br>
15*22dc650dSSadaf Ebrahimi<ul>
16*22dc650dSSadaf Ebrahimi<li><a name="TOC1" href="#SEC1">SYNOPSIS</a>
17*22dc650dSSadaf Ebrahimi<li><a name="TOC2" href="#SEC2">DESCRIPTION</a>
18*22dc650dSSadaf Ebrahimi<li><a name="TOC3" href="#SEC3">OPTIONS</a>
19*22dc650dSSadaf Ebrahimi<li><a name="TOC4" href="#SEC4">SEE ALSO</a>
20*22dc650dSSadaf Ebrahimi<li><a name="TOC5" href="#SEC5">AUTHOR</a>
21*22dc650dSSadaf Ebrahimi<li><a name="TOC6" href="#SEC6">REVISION</a>
22*22dc650dSSadaf Ebrahimi</ul>
23*22dc650dSSadaf Ebrahimi<br><a name="SEC1" href="#TOC1">SYNOPSIS</a><br>
24*22dc650dSSadaf Ebrahimi<P>
25*22dc650dSSadaf Ebrahimi<b>pcre2-config  [--prefix] [--exec-prefix] [--version]</b>
26*22dc650dSSadaf Ebrahimi<b>             [--libs8] [--libs16] [--libs32] [--libs-posix]</b>
27*22dc650dSSadaf Ebrahimi<b>             [--cflags] [--cflags-posix]</b>
28*22dc650dSSadaf Ebrahimi</P>
29*22dc650dSSadaf Ebrahimi<br><a name="SEC2" href="#TOC1">DESCRIPTION</a><br>
30*22dc650dSSadaf Ebrahimi<P>
31*22dc650dSSadaf Ebrahimi<b>pcre2-config</b> returns the configuration of the installed PCRE2 libraries
32*22dc650dSSadaf Ebrahimiand the options required to compile a program to use them. Some of the options
33*22dc650dSSadaf Ebrahimiapply only to the 8-bit, or 16-bit, or 32-bit libraries, respectively, and are
34*22dc650dSSadaf Ebrahiminot available for libraries that have not been built. If an unavailable option
35*22dc650dSSadaf Ebrahimiis encountered, the "usage" information is output.
36*22dc650dSSadaf Ebrahimi</P>
37*22dc650dSSadaf Ebrahimi<br><a name="SEC3" href="#TOC1">OPTIONS</a><br>
38*22dc650dSSadaf Ebrahimi<P>
39*22dc650dSSadaf Ebrahimi<b>--prefix</b>
40*22dc650dSSadaf EbrahimiWrites the directory prefix used in the PCRE2 installation for architecture
41*22dc650dSSadaf Ebrahimiindependent files (<i>/usr</i> on many systems, <i>/usr/local</i> on some
42*22dc650dSSadaf Ebrahimisystems) to the standard output.
43*22dc650dSSadaf Ebrahimi</P>
44*22dc650dSSadaf Ebrahimi<P>
45*22dc650dSSadaf Ebrahimi<b>--exec-prefix</b>
46*22dc650dSSadaf EbrahimiWrites the directory prefix used in the PCRE2 installation for architecture
47*22dc650dSSadaf Ebrahimidependent files (normally the same as <b>--prefix</b>) to the standard output.
48*22dc650dSSadaf Ebrahimi</P>
49*22dc650dSSadaf Ebrahimi<P>
50*22dc650dSSadaf Ebrahimi<b>--version</b>
51*22dc650dSSadaf EbrahimiWrites the version number of the installed PCRE2 libraries to the standard
52*22dc650dSSadaf Ebrahimioutput.
53*22dc650dSSadaf Ebrahimi</P>
54*22dc650dSSadaf Ebrahimi<P>
55*22dc650dSSadaf Ebrahimi<b>--libs8</b>
56*22dc650dSSadaf EbrahimiWrites to the standard output the command line options required to link
57*22dc650dSSadaf Ebrahimiwith the 8-bit PCRE2 library (<b>-lpcre2-8</b> on many systems).
58*22dc650dSSadaf Ebrahimi</P>
59*22dc650dSSadaf Ebrahimi<P>
60*22dc650dSSadaf Ebrahimi<b>--libs16</b>
61*22dc650dSSadaf EbrahimiWrites to the standard output the command line options required to link
62*22dc650dSSadaf Ebrahimiwith the 16-bit PCRE2 library (<b>-lpcre2-16</b> on many systems).
63*22dc650dSSadaf Ebrahimi</P>
64*22dc650dSSadaf Ebrahimi<P>
65*22dc650dSSadaf Ebrahimi<b>--libs32</b>
66*22dc650dSSadaf EbrahimiWrites to the standard output the command line options required to link
67*22dc650dSSadaf Ebrahimiwith the 32-bit PCRE2 library (<b>-lpcre2-32</b> on many systems).
68*22dc650dSSadaf Ebrahimi</P>
69*22dc650dSSadaf Ebrahimi<P>
70*22dc650dSSadaf Ebrahimi<b>--libs-posix</b>
71*22dc650dSSadaf EbrahimiWrites to the standard output the command line options required to link with
72*22dc650dSSadaf EbrahimiPCRE2's POSIX API wrapper library (<b>-lpcre2-posix</b> <b>-lpcre2-8</b> on many
73*22dc650dSSadaf Ebrahimisystems).
74*22dc650dSSadaf Ebrahimi</P>
75*22dc650dSSadaf Ebrahimi<P>
76*22dc650dSSadaf Ebrahimi<b>--cflags</b>
77*22dc650dSSadaf EbrahimiWrites to the standard output the command line options required to compile
78*22dc650dSSadaf Ebrahimifiles that use PCRE2 (this may include some <b>-I</b> options, but is blank on
79*22dc650dSSadaf Ebrahimimany systems).
80*22dc650dSSadaf Ebrahimi</P>
81*22dc650dSSadaf Ebrahimi<P>
82*22dc650dSSadaf Ebrahimi<b>--cflags-posix</b>
83*22dc650dSSadaf EbrahimiWrites to the standard output the command line options required to compile
84*22dc650dSSadaf Ebrahimifiles that use PCRE2's POSIX API wrapper library (this may include some
85*22dc650dSSadaf Ebrahimi<b>-I</b> options, but is blank on many systems).
86*22dc650dSSadaf Ebrahimi</P>
87*22dc650dSSadaf Ebrahimi<br><a name="SEC4" href="#TOC1">SEE ALSO</a><br>
88*22dc650dSSadaf Ebrahimi<P>
89*22dc650dSSadaf Ebrahimi<b>pcre2(3)</b>
90*22dc650dSSadaf Ebrahimi</P>
91*22dc650dSSadaf Ebrahimi<br><a name="SEC5" href="#TOC1">AUTHOR</a><br>
92*22dc650dSSadaf Ebrahimi<P>
93*22dc650dSSadaf EbrahimiThis manual page was originally written by Mark Baker for the Debian GNU/Linux
94*22dc650dSSadaf Ebrahimisystem. It has been subsequently revised as a generic PCRE2 man page.
95*22dc650dSSadaf Ebrahimi</P>
96*22dc650dSSadaf Ebrahimi<br><a name="SEC6" href="#TOC1">REVISION</a><br>
97*22dc650dSSadaf Ebrahimi<P>
98*22dc650dSSadaf EbrahimiLast updated: 28 September 2014
99*22dc650dSSadaf Ebrahimi<br>
100*22dc650dSSadaf Ebrahimi<p>
101*22dc650dSSadaf EbrahimiReturn to the <a href="index.html">PCRE2 index page</a>.
102*22dc650dSSadaf Ebrahimi</p>
103