Compiler Directive to List Defined Macros?

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Jun 28 07:27:00 GMT 2000


At 15:42 28.06.00, Bolan Meek wrote:
>Greetings:  God bless you.
>
>I've searched `info gcc` and the mailing list archives,
>but have found nothing on this:
>
>Is there any compiler directive that will cause a listing
>of defined macros to be printed to stdout or stderr?
>A #pragma something, perhaps?

Try

gcc -E -ansi -dM - </dev/null

Franz.



More information about the Gcc mailing list