William A. Gatliff
Tue Jul 24 18:08:00 GMT 2001
Maybe gcc's -E option is what you want.
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.
> Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to firstname.lastname@example.org
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to email@example.com
More information about the crossgcc