PCRE-CONFIG(1)
π PCRE-CONFIG π
okay so bestie, welcome to the pcre-config manual page β that's section 1 of the General Commands Manual, for the record. she's a tiny little program with one job and she EATS every single time. β¨
πΈ NAME πΈ
pcre-config β the program that returns PCRE configuration. that's it, that's the whole vibe. she tells you stuff about your PCRE setup. π
π¦ SYNOPSIS π¦
pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
[--libs16] [--libs32] [--libs-cpp] [--libs-posix]
[--cflags] [--cflags-posix]
like. look at all those flags. she's got range. π
π DESCRIPTION π
so pcre-config returns the configuration of the installed PCRE libraries, plus the options you need to compile a program that uses them. basically she's your girl for "what do i even put on the command line" energy. π«Ά
here's the tea though β some of those options only apply to the 8-bit, or the 16-bit, or the 32-bit libraries, respectively. and they are not available if only one of those libraries got built. so if you hit an option that isn't available, she just outputs the usage information at you. no cap. π
β¨ OPTIONS β¨
--prefixβ writes the directory prefix used in the PCRE installation for architecture independent files to the standard output (/usron many systems,/usr/localon some systems). π«--exec-prefixβ writes the directory prefix used in the PCRE installation for architecture dependent files to the standard output (normally the same as--prefix). β¨--versionβ writes the version number of the installed PCRE libraries to the standard output. iconic behaviour honestly. π₯--libsβ writes to the standard output the command line options required to link with the 8-bit PCRE library (-lpcreon many systems). π--libs16β writes to the standard output the command line options required to link with the 16-bit PCRE library (-lpcre16on many systems). π§--libs32β writes to the standard output the command line options required to link with the 32-bit PCRE library (-lpcre32on many systems). π--libs-cppβ writes to the standard output the command line options required to link with PCRE's C++ wrapper library (-lpcrecpp -lpcreon many systems). π--libs-posixβ writes to the standard output the command line options required to link with PCRE's POSIX API wrapper library (-lpcreposix -lpcreon many systems). πΈ--cflagsβ writes to the standard output the command line options required to compile files that use PCRE (this may include some-Ioptions, but is blank on many systems). π--cflags-posixβ writes to the standard output the command line options required to compile files that use PCRE's POSIX API wrapper library (this may include some-Ioptions, but is blank on many systems). β
not me reminding you again that unavailable options just dump the usage info. she said "read the description." π
π SEE ALSO π
go read that one too, iykyk. π¦
π AUTHOR π
this manual page was originally written by Mark Baker for the Debian GNU/Linux system. it has been subsequently revised as a generic PCRE man page. king behaviour, fr fr. π
π°οΈ REVISION π°οΈ
Last updated: 24 June 2012
and that's the whole page bestie, no crumbs left. π this one's rocking PCRE 8.30 energy, dated 01 January 2012, and it's the PCRE-CONFIG(1) girlie of the General Commands Manual. slay, bye. π
β¨
π¦ where this page comes from
- alpine 3.22: pcre-doc 8.45-r4 Β· BSD-3-Clause
- alpine 3.23: pcre-doc 8.45-r4 Β· BSD-3-Clause
- alpine 3.24: pcre-doc 8.45-r4 Β· BSD-3-Clause
- arch rolling: pcre 8.45-5 Β· BSD
- centos-stream 9: pcre-devel 8.44-4.el9 Β· BSD
- centos-stream 9: pcre-devel 8.44-4.el9 Β· BSD
- fedora 43: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 43: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 44: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 44: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- nixos 26.05: pcre 8.45
- nixos 26.05: pcre-cpp 8.45
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms