Use the following syntax example to compile a C INMOD or a C Notify Exit routine on a SPARC client system running Solaris.
where the following is true:
- cc
- Invokes the native C compiler
- -dy
- Specifies to use dynamic linking
- -G
- Specifies to create a shared object
- -KPIC
- Is a compiler option that generates Position Independent Code (PIC)
- -m64
- Flag to build 64-bit shared libraries
- sourcefile.c
- UNIX file name of the source file for the INMOD or Notify Exit routine
- -o
- Specifies the output file name
- shared-object-name
- Specifies the resulting shared object module