Compiling and Linking a C INMOD on a Linux Client
Use the following syntax example to compile a C INMOD on a 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 |
Invokes the C compiler on Linux |
shared |
Produces a shared object, which can then be linked with other objects to form an executable |
‑m32 |
Generate code for a 32‑bit environment. The 32‑bit environment sets int, long and pointer to 32 bits. |
‑fPIC |
Produces Position Independent Code |
‑o |
Specifies the output file name |