NAME
iodbc-config - script to get information about the installed version of
iODBCSYNOPSIS
iiooddbbcc-ccoonnffiigg [--pprreeffiixx[=DIR]] [--eexxeecc-pprreeffiixx[=DIR]] [--vveerrssiioonn]
[--ccffllaaggss] [--lliibbss] [--ssttaattiicc-lliibbss] [--lliibbttooooll-lliibbss] [--ooddbbcciinnii]
[--ooddbbcciinnssttiinnii]
DESCRIPTION
iiooddbbcc-ccoonnffiigg is a tool that is used to configure to determine the com-
piler and linker flags that should be used to compile and link programs that use iODBC. OOPPTTIIOONNSSiiooddbbcc-ccoonnffiigg accepts the following options:
--vveerrssiioonn
Print the currently installed version of iiOODDBBCC on the standard output.--ccffllaaggss
Print the compiler flags that are necessary to compile an iiOODDBBCC program.--lliibbss Print the linker flags that are necessary to link an iiOODDBBCC pro-
gram using dynamic libraries (if supported).--ssttaattiicc-lliibbss
Print the linker flags that are necessary to link an iiOODDBBCC pro-
gram using static libraries.--lliibbttooooll-lliibbss
Print the linker flags that are necessary to link an iiOODDBBCC pro-
gram in a libtool environment.--ooddbbcciinnii
Print the path of the system wide odbc.ini file.--ooddbbcciinnssttiinnii
Print the path of the system wide odbcinst.ini file.--pprreeffiixx[=PREFIX]
If specified, use PREFIX instead of the installation prefix that iiOODDBBCC 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. This option
must be specified before any -libs or -cflags options.
If PREFIX is not specified, the --pprreeffiixx flag shows where iiOODDBBCC
is currently installed.--eexxeecc-pprreeffiixx==PPRREEFFIIXX
If specified, use PREFIX instead of the installation exec pre-
fix that iiOODDBBCC was built with when computing the output for the-cflags and -libs options. This option must be specified
before any -libs or -cflags options.
EEXXAAMMPPLLEESSTo compile a program that calls the iiOODDBBCC API, make sure the iiooddbbcc-ccoonn-
ffiigg program can be found in the PPAATTHH environment variable, before using the following Makefile fragment:CFLAGS=`iodbc-config -cflags`
LDLIBS=`iodbc-config -libs`
iodbctest: iodbctest.ccc $(CFLAGS) -o iodbctest iodbctest.c $(LDLIBS)
COPYRIGHTCopyright (C) 1996-2004 by OpenLink Software
AUTHOR iODBC Administrator3.52.1 16 June 2004 iodbc-config(1)