To compile and link source files into a shared object module for INMOD 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 the header files
- -shared
- Flag that produces a shared object that can then be linked with other objects to form an executable
- -m64
- Generates code for a 64-bit environment.
- -fPIC
- Compiler option that generates Position Independent Code
- -o
- Specifies the output file name
- sourcefile.c
- File names of the source files for the INMOD or Notify Exit routine
- shared-object-name
- Name of the shared object file
For a description of the syntax diagrams used in this document, see How to Read Syntax Diagrams.