Prelinking and linking z/OS XL C/C++ programs
Instead of using the prelinker and linkage editor, you can use the binder. See Binding z/OS XL C/C++ programs for more information.
This information shows how to prelink and link your z/OS® XL C/C++ programs. The Language Environment® prelinker combines the object modules that comprise a C or C++ application into a single object module. The linkage editor then processes this object module and generates a load module that can be retrieved for execution.
- Do not refer to writable static
- Do not contain long names
- Do not contain DLL code
- Your application contains C++ code.
- Your application contains C code that is compiled with the RENT, LONGNAME, DLL, or IPA compiler options.
- Your application is compiled to run under z/OS UNIX System Services.
If you do not need to prelink your application, continue to the information in Linking an application. For information on creating object libraries in z/OS XL C++, refer to Object library utility. For information on prelinking and linking object modules under z/OS UNIX System Services, refer to Prelinking and link-editing under the z/OS Shell.