To compile and link source files into a shared object module for INMOD 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 32-bit 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
- UNIX file name(s) of the source file(s) for the INMOD or notify exit routine
- shared - object - name
- Name of the shared object file