for me, options PPONLY and SHOWM worked:

//COMPILE EXEC PGM=CCNDRVR, 
//        PARM=('/CXX OPTFILE(DD:CCOPT) PPONLY SHOWM')

output is written to DD SYSUT10

see 4.107 of XL C/C++ Users Guide.

Cheers
Michael



Von:    Charles Mills <charl...@mcn.org>
An:     IBM-MAIN@bama.ua.edu
Datum:  2012-02-14 19:12
Betreff:        Any way to get the XLC compiler to list all #define 
symbols?
Gesendet von:   IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu>



Does anyone know of a way to get the XLC compiler to list all of the 
#define
symbols that are in effect? XREF and ATTR list all ordinary symbols. There
are several ways of course of determining the define "state" of any
particular #define symbol. But does anyone know of an option or a "trick" 
to
get a list of all of them?

Thanks,

Charles

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to