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.
Compile Syntax
where the following is true:
- gcc
- Call to the program that invokes the native C compiler
- -l<directory>
- Specifies the location of header files
- -shared
- Flag that produces a shared object that can then be linked with other objects to form an executable
- -m64
- Generate code for a 64-bit environment.
- -fPIC
- Compiler option that generates position independent code for all user exit routines
- -o
- Output file name
- shared-object-name
- Name of the shared object file