Can I find what #defines's the pre-processor makes?

Philipp Thomas Philipp.Thomas2@gmx.net
Fri Nov 27 01:44:00 GMT 2009


On Thu, 26 Nov 2009 17:19:47 +0000, you wrote:

>I know if I use gcc, it will define __GNUC__, and no doubt many other things 
>too. Does anyone know how to get a list of them all? Is there a command I can 
>execute which will list them? 

I use 'gcc -dM -E -xc /dev/null' to get all predefines.

Philipp



More information about the Gcc-help mailing list