HP-UX Itanium - MultiLoad

Teradata MultiLoad Reference

Product
MultiLoad
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-07-11
dita:mapPath
cgb1488824663145.ditamap
dita:ditavalPath
Audience_PDF_product_tpt_userguide_include.ditaval
dita:id
B035-2409
lifecycle
previous
Product Category
Teradata Tools and Utilities

To compile and link source files into a shared object module for INMOD and notify exit routines on HP-UX Itanium-based clients, use the following syntax.

Compile Syntax



where the following is true:

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

Link Syntax

Use the following syntax example to link the object modules on HP-UX Itanium into the shared object.



where the following is true:

-b
Linker option that generates a shared object file
inmod.o
Object module derived from the compile step.
inmod.so
Specifies the resulting shared object module. This is the user-specified name in the IMPORT command. Only .so and .sl files are valid as INMOD.
Object modules can be linked into shared objects or shared libraries (i.e., .so or .sl extension respectively) on HP-UX Itanium.
ld
Invokes the UNIX linker editor
-lc
Searches a library lib.a, libc.so, or libc.sh
-n
Generates an executable with file type SHARE_MAGIC. This option is ignored in 64-bit mode.
-o
Specifies the output filename; default is a.out