iodbc-config(1)

πŸ“¦
version 3.52.16 Β· 3 versions
, in arch rolling, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu resolute, ubuntu stonking

✨ iodbc-config(1) ✨ β€” the iODBC Driver Manager tea πŸ’…

okay so bestie, welcome to the iodbc-config manpage, it's giving "iODBC Driver Manager" and it's here to spill literally all the flags 🌸


🌈 NAME 🌈

iodbc-config β€” a script to get information about the installed version of iODBC

πŸŽ€ SYNOPSIS πŸŽ€

iodbc-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
[--cflags] [--libs] [--static-libs] [--libtool-libs] [--odbcini]
[--odbcinstini]

πŸ’– DESCRIPTION πŸ’–

iodbc-config is that girl πŸ’… she's a tool you use to configure stuff β€” specifically, she figures out the compiler and linker flags you need so you can compile and link programs that use iODBC. no cap, she just tells you what flags to pass. iconic behavior.

✨ OPTIONS ✨

iodbc-config accepts the following options, and yes we're doing all of them, no skipping 🫢

  • --version β€” prints the currently installed version of iODBC straight to standard output. flex check πŸ“’
  • --cflags β€” prints the compiler flags that are necessary to compile an iODBC program. your compiler NEEDS these, bestie.
  • --libs β€” prints the linker flags that are necessary to link an iODBC program using dynamic libraries (if supported). "if supported" β€” lowkey conditional, pay attention πŸ‘€
  • --static-libs β€” prints the linker flags that are necessary to link an iODBC program using static libraries.
  • --libtool-libs β€” prints the linker flags that are necessary to link an iODBC program in a libtool environment.
  • --odbcini β€” prints the path of the system wide odbc.ini file.
  • --odbcinstini β€” prints the path of the system wide odbcinst.ini file.
  • --prefix[=PREFIX] β€” if you specify it, use PREFIX instead of the installation prefix that iODBC was built with when it computes the output for the --cflags and --libs options. this option is also used for the exec prefix if --exec-prefix was not specified. ⚠️ and listen β€” this option must be specified before any --libs or --cflags options. order matters, fr fr.
    • if PREFIX is not specified, the --prefix flag shows where iODBC is currently installed. cute little "where am i" moment πŸ¦‹
  • --exec-prefix=PREFIX β€” if you specify it, use PREFIX instead of the installation exec prefix that iODBC was built with when it computes the output for the --cflags and --libs options. ⚠️ this option must be specified before any --libs or --cflags options. same energy, same rule.

🧚 EXAMPLES 🧚

so to compile a program that calls the iODBC API, make sure the iodbc-config program can be found in the PATH environment variable β€” do that before you use the following Makefile fragment:

CFLAGS=`iodbc-config --cflags`
LDLIBS=`iodbc-config --libs`

iodbctest: iodbctest.c
     cc $(CFLAGS) -o iodbctest iodbctest.c $(LDLIBS)

she ate, honestly πŸ”₯

Copyright Β© 1996-2023 OpenLink Software

πŸ’œ AUTHOR πŸ’œ

iODBC Administrator <iodbc@openlinksw.com>


and that's the whole page bestie, no crumbs left πŸ’– this was iodbc-config(1) from iODBC Driver Manager, version 3.52.16, dated 16 June 2004 β€” periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from