Re: gcc Pre-processor information

2011-05-08 Thread ankit7777
Hi Ian , you have helped to narrow my search but still finding it . . . Ian Lance Taylor-3 wrote: > > ankit writes: > >> 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 th

gcc Pre-processor information

2011-05-06 Thread ankit7777
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 ma