This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



iodbc-config(1)                             iODBC Driver Manager                             iodbc-config(1)



NAME
       iodbc-config - 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 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 iODBC.

OPTIONS
       iodbc-config accepts the following options:

       --version
               Print the currently installed version of iODBC on the standard output.

       --cflags
               Print the compiler flags that are necessary to compile an iODBC program.

       --libs  Print  the  linker  flags that are necessary to link an iODBC program using dynamic libraries
               (if supported).

       --static-libs
               Print the linker flags that are necessary to link an iODBC program using static libraries.

       --libtool-libs
               Print the linker flags that are necessary to link an iODBC program in a libtool  environment.

       --odbcini
               Print the path of the system wide odbc.ini file.

       --odbcinstini
               Print the path of the system wide odbcinst.ini file.

       --prefix[=PREFIX]
               If  specified,  use  PREFIX instead of the installation prefix that iODBC 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 --prefix flag shows where iODBC is currently installed.

       --exec-prefix=PREFIX
               If specified, use PREFIX instead of the installation exec prefix that iODBC  was  built  with
               when computing the output for the --cflags and --libs options.  This option must be specified
               before any --libs or --cflags options.


EXAMPLES
       To compile a program that calls the iODBC API, make sure the iodbc-config program can be found in the
       PATH environment variable, before using the following Makefile fragment:

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

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



COPYRIGHT
       Copyright (C) 1996-2004 by OpenLink Software


AUTHOR
       iODBC Administrator <iodbc@openlinksw.com>



3.52.6                                          16 June 2004                                 iodbc-config(1)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...