PCRE-CONFIG(1)

πŸ“¦
version 8.45 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 9, fedora 43, fedora 44, nixos 26.05, opensuse-leap 16.0

πŸ’… 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 (/usr on many systems, /usr/local on 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 (-lpcre on many systems). πŸ“
  • --libs16 β€” writes to the standard output the command line options required to link with the 16-bit PCRE library (-lpcre16 on many systems). 🧚
  • --libs32 β€” writes to the standard output the command line options required to link with the 32-bit PCRE library (-lpcre32 on many systems). 🌈
  • --libs-cpp β€” writes to the standard output the command line options required to link with PCRE's C++ wrapper library (-lpcrecpp -lpcre on many systems). πŸ’œ
  • --libs-posix β€” writes to the standard output the command line options required to link with PCRE's POSIX API wrapper library (-lpcreposix -lpcre on many systems). 🌸
  • --cflags β€” writes to the standard output the command line options required to compile files that use PCRE (this may include some -I options, 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 -I options, 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. πŸ’…βœ¨