pre-processor symbols and gcc -v

kevin diggs diggskevin38@gmail.com
Wed Mar 2 22:36:00 GMT 2011


On Wed, Mar 2, 2011 at 2:54 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 2 March 2011 20:24, kevin diggs wrote:
>> Hi,
>>
>> If a pre-processor macro, say __m68k__ is defined shouldn't it show up
>> in gcc -v? gcc version is 3.4.6.
>
> Are you asking if you should expect to see -D__m68k__ in the commands
> displayed by gcc -v?
>
Yes, that is exactly what I am asking.

> No, it's probably defined automatically, or failing that defined by a
> system header.
>
My bad. I thought all definitions were passed by the driver to the
pre-processor.

Thanks!

kevin



More information about the Gcc-help mailing list