gcc command line from inside c source
John Love-Jensen
eljay@adobe.com
Tue Oct 21 14:55:00 GMT 2008
Hi massimiliano,
> where can I find a list of these predefined macros, to find out if
> there are others that can be useful for me?
You can see which predefined macros are "live" by doing this:
echo '' | g++ -E -dM -x c++ - | sort
I'm not sure where you can find an exhaustive list of all possible
predefined macros, and which flags control them.
HTH,
--Eljay
More information about the Gcc-help
mailing list