This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Preprocess, but do not expand macros?
- From: Larry Riedel <larryr at saturn dot sdsu dot edu>
- To: gcc-help at gcc dot gnu dot org
- Cc: landauer at got dot net
- Date: 3 Jul 2002 20:59:09 -0000
- Subject: Re: Preprocess, but do not expand macros?
- References: <1025717553.3d233531082b2@webmail.got.net>
- Reply-to: Larry Riedel <larryr at saturn dot sdsu dot edu>
> > Is there a simple way for me to tell gcc/cpp to run
> > the preprocessor, but do nothing more than remove the
> > code which would not be present after if/ifdef/ifndef?
>
> Not gcc nor cpp itself, but there is a tool out there in
> some OS's that is called "unifdef".
I see. Yes, in fact the comp.lang.c FAQ says something
about it... oops. It looks like there is an unifdef in
the source for FreeBSD which may compile elsewhere too.
Larry