LIBFTDI-CONFIG(1)

πŸ’– LIBFTDI1-CONFIG πŸ’–

okay bestie, welcome to the libftdi1-config page β€” it's a General Commands Manual situation, section 1, and honestly? it's giving "tiny little script, huge main character energy." ✨


🌸 NAME 🌸

libftdi1-config β€” the lil script you run to get the tea β˜• about the installed version of libftdi1. like, "hey what's installed, what flags do i need" β€” that's her whole job. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸ’… DESCRIPTION πŸ’…

so libftdi1-ftdi is a tool that is used to configure, to determine the compiler and linker flags that should be used to compile and link programs that use libftdi1. no cap. it's the little helper that tells your build system what it needs to know so everything links up all pretty. 🌈


πŸ‘‘ OPTIONS πŸ‘‘

libftdi1-config accepts the following options, and yes we're going through all of them, periodt:

  • LIBRARIES β€” this argument is currently ignored, because libftdi1 is only one library. it's there, it's cute, it does nothing. πŸ™ˆ
  • --version β€” prints the currently installed version of libftdi1 to standard output. the vibe check of versions, fr fr. ⭐
  • --libs β€” prints the linker flags that are necessary to link a libftdi1 program. your linker's love language. πŸ”₯
  • --cflags β€” prints the compiler flags that are necessary to compile a libftdi1 program. compiler said "say less." πŸ’œ
  • --prefix=PREFIX β€” if specified, use PREFIX instead of the installation prefix that libftdi1 was built with when computing the output for the --cflags and --libs options. this option is also used for the exec prefix if --exec-prefix was not specified. and here's the important part bestie: this option must be specified before any --libs or --cflags options. order matters, it's giving "sequencing is the whole plot." 🧚
  • --exec-prefix=PREFIX β€” if specified, use PREFIX instead of the installation exec prefix that libftdi1 was built with when computing the output for the --cflags and --libs options. this option must be specified before any --libs or --cflags options. same rule, different prefix, no shortcuts. πŸ’«
ngl, the two "must be specified before" rules are the ones that'll bite you if you're sloppy. put your prefix flags first, always. 🫢

πŸ’€ AUTHORS πŸ’€

libftdi1 was written by Intra2net AG <opensource@intra2net.com>. legends, honestly. πŸ‘‘


πŸŽ€ the cute sign-off πŸŽ€

this was the General Commands Manual page for libftdi1-config, dated April 26, 2015. mwah, that's it, that's the page. go forth and get your flags right πŸ’–βœ¨πŸ¦‹πŸŒΈ