To compile and link source files into a shared object module for INMOD, OUTMOD, or Notify Exit routines on a SPARC client system running Solaris, use the following syntax:
Compile Syntax
where the following is true:
- cc
- Call to the program that invokes the native UNIX C compiler
- -dy
- Specifies to use dynamic linking
- -G
- Specifies to create a shared object
- -KPIC
- Compiler option that generates Position Independent Code
- -m64
- Flag to build 64-bit shared libraries
- sourcefile.c
- UNIX file name of the source file for the INMOD, OUTMOD or Notify Exit routine
- -o
- Specifies the output file name
- shared-object-name
- Name of the shared object file