UNIX OS Compilation Options - ODBC Driver for Teradata

ODBC Driver for Teradata User Guide

Product
ODBC Driver for Teradata
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-07-11
dita:mapPath
smj1488824663219.ditamap
dita:ditavalPath
Audience_PDF_product_legacy_odbc_include.ditaval
dita:id
B035-2526
lifecycle
previous
Product Category
Teradata Tools and Utilities

The ODBC include files must be used when developing ODBC applications on the UNIX systems. These files are located in:

<InstallDir>/include

The inclusion of the ODBC Driver Manager requires some changes to compilation options for your applications.

As an example, look at:

<InstallDir>/samples/C/Makefile

or

<InstallDir>/samples/C++/Makefile

and corresponding platform.include files for compilation options for each UNIX platform.

If compiling C++ applications on any UNIX platform that uses ODBC Driver for Teradata, use the following compile time options:

    -DODBCVER=0x0352

If compiling for C applications on an IBM AIX platform, use the following compile time options:

    -DODBCVER=0x0352

    -qlanglvl=EXTended