LIBFTDI-CONFIG(1)

πŸ’– LIBFTDI-CONFIG πŸ’–

okay so bestie, we're in the General Commands Manual section today, and this little cutie is called libftdi-config. she's a shell script, she's helpful, she's a lil bit dramatic, and she's about to tell you everything you need to know about your installed libftdi. let's go ✨


🌸 NAME 🌸

libftdi-config β€” a script to get information about the installed version of libftdi πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

libftdi-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
               [--libs] [--cflags] [LIBRARIES]

that's the whole vibe. a bunch of flags and an optional LIBRARIES at the end. no cap 🫢


🌈 DESCRIPTION 🌈

so libftdi-ftdi β€” yes, that's literally what the manpage calls it, we're not editing the girl β€” is a tool you use to configure things. her whole job is to figure out which compiler and linker flags you should be using so that you can compile and link programs that use libftdi. it's giving "helpful assistant who actually knows what she's doing." πŸ’…

basically you run her, she hands you the flags, you paste them into your build and everything slays. πŸ”₯


✨ OPTIONS ✨

libftdi-config accepts the following options, and yes we are going through every single one because we don't skip. periodt. πŸ‘‘

  • LIBRARIES β€” bestie, this argument is currently ignored because libftdi is only one library. that's it. that's the whole thing. she accepts it, she just doesn't do anything with it πŸ™ˆ
  • --version β€” prints the currently installed version of libftdi to standard output. simple, iconic, does exactly what it says 🌟
  • --libs β€” prints the linker flags that are necessary to link a libftdi program. this is the one you want when your linker is throwing a fit 😭
  • --cflags β€” prints the compiler flags that are necessary to compile a libftdi program. compiler girlies, this one's for you πŸ’–
  • --prefix=PREFIX β€” if you specify this, she'll use PREFIX instead of the installation prefix that libftdi was built with when she's computing the output for the --cflags and --libs options. also, this option gets used for the exec prefix too, but only if --exec-prefix wasn't specified. πŸ’«
⚠️ okay important: this option must be specified before any --libs or --cflags options. order matters, bestie. she is not flexible on this one. πŸ™…β€β™€οΈ
  • --exec-prefix=PREFIX β€” if you specify this, she'll use PREFIX instead of the installation exec prefix that libftdi was built with when computing the output for the --cflags and --libs options. πŸŽ€
⚠️ same deal: this option must be specified before any --libs or --cflags options. put it first or she will simply not hear you. πŸ’€

πŸ‘‘ AUTHORS πŸ‘‘

libftdi was written by Intra2net AG <opensource@intra2net.com>. absolute legends, fr fr 🫢


and that's the whole page, bestie!! this cutie came to us via the General Commands Manual and she's dated March 29, 2004 β€” vintage but still serving ✨ go forth and compile something gorgeous, iykyk πŸ’œπŸŒ·