Re: gcc Pre-processor information

2011-05-08 Thread ankit7777
and if yes how? > > Look at the implementation of -dD and the implementation of -g3. gcc > does have this information, though it may not be in a particularly > convenient form. > > Ian > > -- View this message in context: http://old.nabble.com/gcc-Pre-processor-information-tp31558009p31573904.html Sent from the gcc - Dev mailing list archive at Nabble.com.

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

gcc Pre-processor information

2011-05-06 Thread ankit7777
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-processor-information-tp31558009p31558009.html Sent from the gcc - Dev mailing list archive at Nabble.com.