HP‑UX PA RISC
Use the following syntax to compile and link source files into a shared object module for INMOD notify exit routines on HP‑UX PA RISC client systems:
Compile Syntax
Link Syntax
where
Syntax Element |
Description |
‑Aa |
Compiler option which enables compiler to conform to the ANSI standard |
‑b |
Linker option that generates a shared object file |
‑c |
Compile‑only option (does not link) |
cc |
Call to the program that invokes the native UNIX C compiler |
‑D_HPUX_SOURCE |
Symbol that enables the compiler to access macros and typedefs that are not defined by the ANSI Standard but are provided by the HPUX Operating System |
ld |
Call to the program that invokes the native UNIX linker |
objectfile |
File that the compiler generates and linker uses to generate shared‑object‑name |
‑o |
Switch to the linker |
shared‑object‑name |
Name of the shared object file |
|
This is the name specified as the: |
|
The shared‑object‑name can be any valid UNIX file name. |
|
Note: When creating a shared object module for an INMOD routine, if the INMOD uses functions from an external library, then that library must be statically linked with the INMOD routine so that the Teradata FastLoad utility can resolve the external references.name. |
+z |
Compiler option that generates Position Independent Code (PIC) for all user exit routines |
sourcefile |
UNIX file name(s) of the source file(s) for the INMOD or notify exit routine |
+u1 |
Compiler option that allows pointers to access non‑natively aligned data |