1 <html> 2 <head> 3 <title>pcre2-config specification</title> 4 </head> 5 <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB"> 6 <h1>pcre2-config man page</h1> 7 <p> 8 Return to the <a href="index.html">PCRE2 index page</a>. 9 </p> 10 <p> 11 This page is part of the PCRE2 HTML documentation. It was generated 12 automatically from the original man page. If there is any nonsense in it, 13 please consult the 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>pcre2-config [--prefix] [--exec-prefix] [--version]</b> 26 <b> [--libs8] [--libs16] [--libs32] [--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>pcre2-config</b> returns the configuration of the installed PCRE2 libraries 32 and the options required to compile a program to use them. Some of the options 33 apply only to the 8-bit, or 16-bit, or 32-bit libraries, respectively, and are 34 not available for libraries that have not been built. If an unavailable option 35 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 PCRE2 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 PCRE2 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 PCRE2 libraries to the standard 52 output. 53 </P> 54 <P> 55 <b>--libs8</b> 56 Writes to the standard output the command line options required to link 57 with the 8-bit PCRE2 library (<b>-lpcre2-8</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 PCRE2 library (<b>-lpcre2-16</b> on many systems). 63 </P> 64 <P> 65 <b>--libs32</b> 66 Writes to the standard output the command line options required to link 67 with the 32-bit PCRE2 library (<b>-lpcre2-32</b> on many systems). 68 </P> 69 <P> 70 <b>--libs-posix</b> 71 Writes to the standard output the command line options required to link with 72 PCRE2's POSIX API wrapper library (<b>-lpcre2-posix</b> <b>-lpcre2-8</b> on many 73 systems). 74 </P> 75 <P> 76 <b>--cflags</b> 77 Writes to the standard output the command line options required to compile 78 files that use PCRE2 (this may include some <b>-I</b> options, but is blank on 79 many systems). 80 </P> 81 <P> 82 <b>--cflags-posix</b> 83 Writes to the standard output the command line options required to compile 84 files that use PCRE2's POSIX API wrapper library (this may include some 85 <b>-I</b> options, but is blank on many systems). 86 </P> 87 <br><a name="SEC4" href="#TOC1">SEE ALSO</a><br> 88 <P> 89 <b>pcre2(3)</b> 90 </P> 91 <br><a name="SEC5" href="#TOC1">AUTHOR</a><br> 92 <P> 93 This manual page was originally written by Mark Baker for the Debian GNU/Linux 94 system. It has been subsequently revised as a generic PCRE2 man page. 95 </P> 96 <br><a name="SEC6" href="#TOC1">REVISION</a><br> 97 <P> 98 Last updated: 28 September 2014 99 <br> 100 <p> 101 Return to the <a href="index.html">PCRE2 index page</a>. 102 </p> 103