commoncpp-config(1)

πŸ“¦
version 7.0.1 Β· 2 versions
, in debian bookworm, debian trixie, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– commoncpp-config β€” the manual, but make it make sense πŸ’–

ok so this is the commoncpp-config(1) page from the GNU Telephony manual set, and bestie, I'm gonna walk you through it like we're texting at 2am. no gatekeeping here. ✨


🌸 NAME 🌸

commoncpp-config β€” it's a lil script that hands you info about the common c++ library. that's it. that's the whole job. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

commoncpp-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
[--cflags] [--libs] [--includes]

like, you just run it with whatever flags you need and it yells the answers back at you. iconic behavior honestly. πŸ’…


✨ DESCRIPTION ✨

okay so commoncpp-config is the tool you use to figure out which compiler and linker flags you need to compile and link programs that use the commonc++ library. it's giving "personal assistant but for build flags". 🫢

⚠️ MAJOR NOTE, NO CAP: commoncpp-config is provided for compatibility with legacy software only. if your project is current β€” like, alive, thriving, main character energy β€” you should use pkg-config instead! fr fr. don't be out here using the legacy thing when the new thing exists. πŸ’€

πŸ’… OPTIONS πŸ’…

  • --version β€” prints the currently installed version of common c++ straight to standard output. simple. clean. slay. 🌟
  • --includes β€” prints the include directory for the commonc++ headers. that's where the header files live, bestie. 🏠
  • --libs β€” prints the linker flags you need to link a program with commonc++. 🧚
  • --cflags β€” prints the compiler flags you need to compile a program with commonc++. πŸ”₯
  • --prefix=PREFIX β€” if you specify this, it uses PREFIX instead of the installation prefix that common c++ was built with when it's computing the output for the --cflags and --libs options. this one is ALSO used for the exec prefix if --exec-prefix wasn't specified. 🎯
🚨 and listen β€” this option must be specified before any --libs or --cflags options. order matters, okay? don't come crying to me when it doesn't work because you put it at the end. 😭
  • --exec-prefix=PREFIX β€” if you specify this, it uses PREFIX instead of the installation exec prefix that common c++ was built with when it's computing the output for the --cflags and --libs options. 🌈
🚨 same rule, bestie: this option must be specified before any --libs or --cflags options. periodt. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

  • pkg-config(1). β€” yeah. the one you should actually be using. iykyk. 🫢

🌟 AUTHOR 🌟

commoncpp-config was written by David Sugar <dyfet@gnutelephony.org>. we love a legend. πŸ‘‘


Copyright Β© 2009 David Sugar, Tycho Softworks.

this is free software; see the source for copying conditions. and there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so like… legally, you're on your own, but emotionally i'm right here. πŸ’–


and that's the whole vibe check! this page is from the GNU Common C++ Configuration manual, dated July 2009, so she's a lil vintage but she still ate. mwah, bye bestie! πŸ’œπŸ¦‹πŸŒΈβœ¨