To compile and link source files into a shared object module for INMOD, OUTMOD, or notify exit routines on Linux client systems, use the following syntax.
Be sure to compile the INMOD and notify exit routines in 32bit mode so they are compatible with Teradata FastExport.
Compile Syntax
where the following is true:
- gcc
- Call to the program that invokes the native C compiler
- 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
- o
- Output file name
- i
- INMOD source file name
- inmod.so
- INMOD shared object name
- m32
- Generate code for a 32bit environment. The 32bit environment setsint, long and pointer to 32 bits.