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 their >> usage point(eg. l

Re: gcc Pre-processor information

2011-05-06 Thread Jonathan Wakely
On 6 May 2011 12:25, ankit wrote: > > 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-process

Re: gcc Pre-processor information

2011-05-06 Thread Ian Lance Taylor
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 their > usage point(eg. line number) in the code. > > Need to know this information during or after gcc pre-processing phase. > > Pos