avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] GCC platform specific identification?


From: Schwichtenberg, Knut
Subject: [avr-gcc-list] GCC platform specific identification?
Date: Tue, 31 Jul 2007 11:13:10 +0200

Hi,

is there a cpp-macro / definition to distiguish between the different
gcc platform implementations? I read the cpp-man describing "__xxx__"
macros like __GNUC__ and did not find any. But there may be one not
officially documented. At least I want to know within my source code if
the file is compiled for an AVR or a PC, etc. Of course I can do this be
a self created definition, but a pre-defined solution is preferable.

Knut

----------------------------------------------------------------------
Knut Schwichtenberg                        Siemens AG 
----------------------------------------------------------------------
This mail is made from 100% recycled electrons. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]