To compile and link source files into a shared object module for INMOD, OUTMOD, and notify exit routines on z/Linux client systems, use the following syntax:
where the following is true:
- gcc
- Call to the program that invokes the native C compiler
- m31
- Generates code for a 32bit environment.
- shared
- Flag that produces a shared object that can then be linked with other objects to form an executable.
- fPIC
- Compiler option that generates Position Independent Code for all user exit routines.
- o
- Output file name.
- sourcefile.c
- UNIX file name(s) of the source file(s) for the INMOD or notify exit routine
- sharedobjectname
- Specifies the resulting shared object module