pcre-config.txt 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. PCRE-CONFIG(1) General Commands Manual PCRE-CONFIG(1)
  2. NAME
  3. pcre-config - program to return PCRE configuration
  4. SYNOPSIS
  5. pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
  6. [--libs16] [--libs32] [--libs-cpp] [--libs-posix]
  7. [--cflags] [--cflags-posix]
  8. DESCRIPTION
  9. pcre-config returns the configuration of the installed PCRE libraries
  10. and the options required to compile a program to use them. Some of the
  11. options apply only to the 8-bit, or 16-bit, or 32-bit libraries,
  12. respectively, and are not available if only one of those libraries has
  13. been built. If an unavailable option is encountered, the "usage" infor-
  14. mation is output.
  15. OPTIONS
  16. --prefix Writes the directory prefix used in the PCRE installation for
  17. architecture independent files (/usr on many systems,
  18. /usr/local on some systems) to the standard output.
  19. --exec-prefix
  20. Writes the directory prefix used in the PCRE installation for
  21. architecture dependent files (normally the same as --prefix)
  22. to the standard output.
  23. --version Writes the version number of the installed PCRE libraries to
  24. the standard output.
  25. --libs Writes to the standard output the command line options
  26. required to link with the 8-bit PCRE library (-lpcre on many
  27. systems).
  28. --libs16 Writes to the standard output the command line options
  29. required to link with the 16-bit PCRE library (-lpcre16 on
  30. many systems).
  31. --libs32 Writes to the standard output the command line options
  32. required to link with the 32-bit PCRE library (-lpcre32 on
  33. many systems).
  34. --libs-cpp
  35. Writes to the standard output the command line options
  36. required to link with PCRE's C++ wrapper library (-lpcrecpp
  37. -lpcre on many systems).
  38. --libs-posix
  39. Writes to the standard output the command line options
  40. required to link with PCRE's POSIX API wrapper library
  41. (-lpcreposix -lpcre on many systems).
  42. --cflags Writes to the standard output the command line options
  43. required to compile files that use PCRE (this may include
  44. some -I options, but is blank on many systems).
  45. --cflags-posix
  46. Writes to the standard output the command line options
  47. required to compile files that use PCRE's POSIX API wrapper
  48. library (this may include some -I options, but is blank on
  49. many systems).
  50. SEE ALSO
  51. pcre(3)
  52. AUTHOR
  53. This manual page was originally written by Mark Baker for the Debian
  54. GNU/Linux system. It has been subsequently revised as a generic PCRE
  55. man page.
  56. REVISION
  57. Last updated: 24 June 2012