HP-UX Itanium - FastExport

Teradata FastExport Reference

Product
FastExport
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-22
dita:mapPath
fmk1488824663357.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2410
lifecycle
previous
Product Category
Teradata Tools and Utilities

Use the following syntax example to compile a C INMOD on HPUX Itanium based clients.

Compile Syntax



where the following is true:

cc
Invokes the native UNIX C compiler
+u1
Compiler option that allows pointers to access nonnatively aligned data
D_REENTRANT
Ensures that all the Pthread definitions are visible at compile time
+DD64
Generates 64bit object code for PA2.0 architecture
c
Compiles one or more source files but does not enter the linking phase
inmod.c
A C source module for the INMOD.

Link Syntax

Use the following syntax example to link the object modules on HPUX Itanium into the shared object.



where the following is true:

ld
Invokes the UNIX linker editor
n
Generates an executable with file type SHARE_MAGIC. This option is ignored in 64bit mode.
b
Linker option specified to generate a shared object file
inmod.o
Object module derived from the compile step
lc
Search a library libc.a, libc.so, or libc.sh
o
Specifies the output filename; default is a.out
inmod.so
Specifies the resulting shared object module
This is the user specified name in the IMPORT command.Object modules can be linked into shared objects or shared libraries (for example, .so or .sl extension respectively) on HPUX Itanium.