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: landauer at got dot net
- To: gcc-help at gcc dot gnu dot org
- Cc: larryr at saturn dot sdsu dot edu
- Date: Wed, 03 Jul 2002 10:32:33 -0700 (PDT)
- Subject: RE: Preprocess, but do not expand macros?
> 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". It might be close
enough for your purposes. You might want to search the
web to see whether it's available.
-- Doug L.