Using the z/OS UNIX-supplied utilities c89/cc/c++, you can compile and link-edit a z/OS UNIX C/C++ application in one step, or link-edit application object modules separately. To produce an executable file, invoke c89 and pass it object modules (file.o z/OS UNIX files or file.OBJ MVS data sets) without using the -c option.
See z/OS UNIX System Services Command Reference for information about the c89 utility.