Use the following syntax example to compile a C INMOD on a SPARC client system running Solaris.
where the following is true:
- cc
- Invokes the native C compiler
- -G
- Specifies to create a shared object
- -KPIC
- Is a compiler option that generates Position Independent Code (PIC) for all user exit routine
- sourcefile
- Is a C source module for the INMOD
- -o
- Specifies the output file name
- shared-object-name
- Specifies the resulting shared object module