From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bolan Meek To: Franz Sirl Cc: bolan@koyote.com, gcc@gcc.gnu.org Subject: Re: Compiler Directive to List Defined Macros? Date: Wed, 28 Jun 2000 07:35:00 -0000 Message-id: <395A0C74.CBE4F7C1@wcom.com> References: <4.3.2.7.2.20000628162558.03ab8100@mail.lauterbach.com> X-SW-Source: 2000-06/msg00723.html Franz Sirl wrote: > > 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 - > Franz. Thanks; I tried it. It looks like it supplies pre-defined macros; I was hoping for a compiler directive that would also spit out the macros that have been defined in the source code, during compilation. Maybe I should send this in as a 'wishlist' item.