pcre2-config man page

Return to the PCRE2 index page. 返回PCRE2索引页面

This page is part of the PCRE2 HTML documentation. It was generated automatically from the original man page. If there is any nonsense in it, please consult the man page, in case the conversion went wrong. 此页面是PCRE2 HTML文档的一部分。它是从原始手册页自动生成的。如果其中有任何废话,请参阅手册页,以防转换出错。


SYNOPSIS

pcre2-config [--prefix] [--exec-prefix] [--version] [--libs8] [--libs16] [--libs32] [--libs-posix] [--cflags] [--cflags-posix]


DESCRIPTION

pcre2-config returns the configuration of the installed PCRE2 libraries and the options required to compile a program to use them. 返回已安装的PCRE2库的配置以及编译程序以使用它们所需的选项。Some of the options apply only to the 8-bit, or 16-bit, or 32-bit libraries, respectively, and are not available for libraries that have not been built. If an unavailable option is encountered, the "usage" information is output. 其中一些选项分别仅适用于8位、16位或32位库,不适用于尚未构建的库。如果遇到不可用的选项,则输出“使用情况”信息。


OPTIONS

--prefix Writes the directory prefix used in the PCRE2 installation for architecture independent files (/usr on many systems, /usr/local on some systems) to the standard output. 将PCRE2安装中使用的与体系结构无关的文件的目录前缀(在许多系统上为/usr,在某些系统上为/usr/local)写入标准输出。

--exec-prefix Writes the directory prefix used in the PCRE2 installation for architecture dependent files (normally the same as --prefix) to the standard output. 将PCRE2安装中用于体系结构相关文件的目录前缀(通常与--prefix相同)写入标准输出。

--version Writes the version number of the installed PCRE2 libraries to the standard output. 将已安装的PCRE2库的版本号写入标准输出。

--libs8 Writes to the standard output the command line options required to link with the 8-bit PCRE2 library (-lpcre2-8 on many systems). 将与8位PCRE2库(在许多系统上为-lpcre2-8)链接所需的命令行选项写入标准输出。

--libs16 Writes to the standard output the command line options required to link with the 16-bit PCRE2 library (-lpcre2-16 on many systems). 将与16位PCRE2库(在许多系统上为-lpcre2-16)链接所需的命令行选项写入标准输出。

--libs32 Writes to the standard output the command line options required to link with the 32-bit PCRE2 library (-lpcre2-32 on many systems). 将与32位PCRE2库(在许多系统上为-lpcre2-32)链接所需的命令行选项写入标准输出。

--libs-posix Writes to the standard output the command line options required to link with PCRE2's POSIX API wrapper library (-lpcre2-posix -lpcre2-8 on many systems). 将与PCRE2的POSIX API包装库链接所需的命令行选项写入标准输出(在许多系统上为-lpcre2-posix -lpcre2-8)。

--cflags Writes to the standard output the command line options required to compile files that use PCRE2 (this may include some -I options, but is blank on many systems). 将编译使用PCRE2的文件所需的命令行选项写入标准输出(这可能包括一些-I选项,但在许多系统上为空)。

--cflags-posix Writes to the standard output the command line options required to compile files that use PCRE2's POSIX API wrapper library (this may include some -I options, but is blank on many systems). 将编译使用PCRE2的POSIX API包装库的文件所需的命令行选项写入标准输出(这可能包括一些-I选项,但在许多系统上为空)。


SEE ALSO

pcre2(3)


AUTHOR

This manual page was originally written by Mark Baker for the Debian GNU/Linux system. It has been subsequently revised as a generic PCRE2 man page. 本手册页最初由Mark Baker为Debian GNU/Linux系统编写。随后将其修订为通用PCRE2手册页。


REVISION

Last updated: 28 September 2014

Return to the PCRE2 index page.