#ifdef tool?
William A. Gatliff
bgat@saturn.billgatliff.com
Tue Jul 24 18:08:00 GMT 2001
Mike:
Maybe gcc's -E option is what you want.
b.g.
On Tue, Jul 24, 2001 at 05:13:24PM -0500, Michael Dorin wrote:
>
>
> Anybody know of a tool that could strip unused ifdefs right from your code?
>
> Something that could look at your include path and your -D's and generate
> a source file, with comments, with all the undefined code removed?
>
> Could you do this with the cpp?
>
> If have a collection of code with lots of #ifdefs. I would really like
> to be able easily see what I am compiling.
>
> Thanks for any advice.
>
> -Mike
>
>
>
> ------
> Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
>
--
Bill Gatliff
bgat@billgatliff.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list