Use the following syntax example to compile a C INMOD on a Linux client.
Be sure to compile the INMOD and notify exit routines in 32-bit mode so that they are compatible with Teradata TPump.
where the following is true:
- 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