Compiling and Linking a C INMOD on a Linux Client - Parallel Data Pump

Teradata Parallel Data Pump Reference

Product
Parallel Data Pump
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-3021
lifecycle
previous
Product Category
Teradata Tools and Utilities

Compiling and Linking a C INMOD on a Linux Client

Use the following syntax example to compile a C INMOD on a Linux client.

Note: Be sure to compile the INMOD and notify exit routines in 32‑bit mode so that they are compatible with Teradata TPump.

where

 

Syntax Element

Description

gcc

Invokes the C compiler on Linux

shared

Produces a shared object, which can then be linked with other objects to form an executable

m32

Generate code for a 32bit environment. The 32bit environment sets int, long and pointer to 32 bits.

fPIC

Produces Position Independent Code

o

Specifies the output file name