z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Generating a reentrant program executable for C or C++

z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
SA38-0689-00

To generate a reentrant C object module, follow these steps:

  1. For C, if your program contains external data, compile your source files using the RENT (and LP64) compiler option. For C++, compile your source files with LP64; by default the compiler builds reentrant programs using constructed reentrancy. See z/OS XL C/C++ User's Guide for more information.
  2. To produce an executable program, use the binder to combine all of the input into an AMODE 64 executable program.
  3. To get the greatest benefit from reentrancy, install your executable program in one of the locations listed in Installing a reentrant load module.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014