UNIX OS Compilation Options - ODBC Driver for Teradata

ODBC Driver for Teradata® User Guide

Product
ODBC Driver for Teradata
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-08-22
dita:mapPath
xbl1544831938754.ditamap
dita:ditavalPath
nkw1500504256726.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