UNIX OS Compilation Options

ODBC Driver for Teradata® User Guide

brand
Teradata Tools and Utilities
prodname
ODBC Driver for Teradata
vrm_release
16.20
category
User Guide
featnum
B035-2526-108K

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