Debug format and c89 -g flag option translation

As of z/OS® V1R6 C/C++, the environment variable _DEBUG_FORMAT can be used with the c89 utility to specify translation of the -g flag option for 31-bit compilations:
  • If _DEBUG_FORMAT equals DWARF (the default), -g is translated to DEBUG(FORMAT(DWARF)).
  • If _DEBUG_FORMAT equals ISD, then -g is translated to TEST (the old translation).

For the impact on specification of compiler options, see Debug format specification.

For detailed information about using the c89 utility, see the c89 in z/OS XL C/C++ User's Guide.