Compiling and Linking a C INMOD on a z/Linux Client
Use the following syntax example to compile a C INMOD on a z/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 |
Call to the program that invokes the native C compiler |
‑m31 |
Generates code for a 32‑bit environment. |
‑shared |
Flag that produces a shared object that can then be linked with other objects to form an executable |
‑fPIC |
Compiler option that generates Position Independent Code for all user exit routines |
shared‑object‑name |
Name of the shared object file. The shared‑object‑name can be any valid file name. This is the name specified as: |
‑o |
Output file name |