Use the following syntax to compile source files into a shared object module for INMOD or Notify Exit routines on an Opteron client system running Solaris:
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
- -xarch=generic64
- Flag to build 64-bit shared libraries
- -KPIC
- Compiler option that generates Position Independent Code
- -o
- Specifies the output file name
- sourcefile.c
- UNIX file names of the source files for the INMOD or notify exit routine
- shared-object-name
- Name of the shared object file