To compile and link source files into a shared object module for INMOD or notify exit routines on an Opteron client system running Oracle 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
- Produces a shared object-enabled for use with the run-time linker
- shared-object-name
- Name of the shared object file
- -o
- Switch to the linker
- sourcefile
- UNIX file name of the source file for the INMOD or notify exit routine