This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: strip gcc preprocessor directives?


On Mon, Jul 23, 2001 at 01:17:39PM +0000, A Roturier wrote:
> hello,
> 
> i'd like to strip off those gcc preprocessor directives so the source codes 
> are
> more readable.
> 
> i browsed through gcc online help and found the argument,
> 
> arm-elf-gcc -Wa,-a=out.txt .........

Either invoke the C preprocessor directly, or feed arm-elf-gcc the
-E flag. Note you'll need to pass your usual definitions and macros,
or else the source you'll be reading won't match what is going to
be compiled!

 Daniel


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