On Sun, 20 Dec 2020 11:52:13 -0800, Charles Mills wrote:
>Does anyone know where any compiler options are preserved in object code? I
>am at this moment specifically interested in the XL C/C++ compiler options
>TARGET and ARCH. In the pseudo-assembler listing I see
>
__ARCH__ is available as a predefined macro:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.cbclx01/macros_option_settings.htm
... Prefix an eyecatcher and STRINGIFY it.
I don't see TARGET there.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN