This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Getting predefined macros
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Alex Vinokur <alexvn at connect dot to>, gcc-help at gcc dot gnu dot org
- Date: Tue, 30 Mar 2004 09:17:29 -0600
- Subject: Re: Getting predefined macros
- References: <c4c25f$bo3$1@sea.gmane.org>
Hi Alex,
Follow these steps:
touch empty.c
gcc -E -dM empty.c
Voila!
Use whatever flags you normally use. Use "empty.cpp" and "g++" for C++.
HTH,
--Eljay