Compiling and Linking a C INMOD on HP-UX PA RISC - 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 HPUX PA RISC

Use the following syntax example to compile a C INMOD on HP‑UX PA RISC client.

Compile Syntax

where

 

Syntax element

Description

Aa

Option that enables the compiler to conform to ANSI standards

D_HPUX_SOURCE

Enables the compiler to access macros and typedefs that are not defined by the HPUX Operating System, but not the ANSI standard.

cc

Invokes the native C compiler

+z

Is a compiler option specified to generate Position Independent Code (PIC) for all user exit routines

+u1

Is a compiler option that allows pointers to access nonnatively aligned data

sourcefile

UNIX file name(s) of the source file(s) for the INMOD or notify exit routine

Use the following syntax example to link the object modules on HP‑UX PA‑RISC into the shared object.

Link Syntax

where

 

Syntax element

Description

ld

Invokes the UNIX linker editor

b

Is a linker option specified to generate a shared object file

inmod.o

Is an object module derived from the compile step

o

Specifies the output filename; default is a.out

inmod.so

Specifies the resulting shared object module

This is the userspecified name in the IMPORT command.