Using the z/OS UNIX c89 utility to link-edit and create executable files

To link-edit a z/OS UNIX C/C++ application's object modules to produce an executable file, specify the c89 utility and pass it object modules (file.o z/OS UNIX files or //file.OBJ MVS™ data sets). The c89utility recognizes that these are object modules produced by previous C/C++ compilations and does not invoke the compiler for them.

To compile source files without link-editing them, use the c89 -c option to create object modules only. You can use the -o option with the command to specify the name and location of the executable file to be created.

For a complete description of all the c89 options, see z/OS UNIX System Services Command Reference.