This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc Pre-Processing Information


Problem Statement : Given a C file which has several macros defined (eg.
#define MACRO 10) . I need to know what all macros are defined and their
usage point(eg. line number) in the code.

Need to know this information during or after gcc pre-processing phase.

Possible solution may dump this macro information in some file.

Is there any way that gcc can dump this information and if yes how?
-- 
View this message in context: http://old.nabble.com/gcc-Pre-Processing-Information-tp31557981p31557981.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]