[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] What are the predefined #defines?
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] What are the predefined #defines? |
Date: |
Mon, 17 Feb 2003 16:29:15 +0100 (MET) |
Bob Paddock <address@hidden> wrote:
> IAR has some predefined #defines that tell the compiler and its
> version (#define __IAR_SYSTEM__, #define __VERS__).
> Are there equivalents in AVR-GCC?
__GNUC__ and __VERSION__
__GNUC__ will be set to 3 for any 3.x gcc. __VERSION__ contains a
more detailed version string.
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/