To compile and link source files into a shared object module for INMOD or notify exit routines on a SPARC client system running Oracle Solaris, use the following syntax:
Compile Syntax
where the following is true:
- cc
- Call to the program that invokes the UNIX native C compiler
- -G
- Linker option that generates a shared object file
- -KPIC
- Compiler option that generates Position Independent Code for all user exit routines
- -o
- Switch to the linker
- shared-object-name
- Name of shared object file
- sourcefile
- UNIX file name of the source file for the INMOD or notify exit routine