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--cflagsand--libsoptions. also, this option gets used for the exec prefix too, but only if--exec-prefixwasn't specified. π«
β οΈ okay important: this option must be specified before any--libsor--cflagsoptions. 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--cflagsand--libsoptions. π
β οΈ same deal: this option must be specified before any--libsor--cflagsoptions. 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 ππ·
π¦ where this page comes from
- debian bookworm: libftdi-dev 0.20-4+b1
- debian trixie: libftdi-dev 0.20-4+b2
- ubuntu jammy: libftdi-dev 0.20-4ubuntu1
- ubuntu noble: libftdi-dev 0.20-4ubuntu3
- ubuntu questing: libftdi-dev 0.20-4ubuntu4
- ubuntu resolute: libftdi-dev 0.20-4ubuntu6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms