At 15:04 2003-1-17 +0100, you wrote:
Hello

Does anybody know the equivalent for CW predefined symbol __MC68K__ in case
of Armlet compiler?
C_Compilers_Reference.pdf lists __INTEL__, __MC68K__, __MIPS__, __POWERPC__,
but nothing for ARM.
1) Subscribe to the armlet-forum at palmos.com if you're doing anything with ARMlets. It is very, very useful.

2) Read the release notes. In particular,

...cwpalm9\Release Notes\Palm_OS\CW_Tools\Compiler Notes

has a file called CW ARMlet Notes.txt with this text:

===============================================================================
Predefined Macros
===============================================================================

The compiler defines several macros that can be used in your code to
determine if you are being built by the Palm OS ARMlet compiler.

__arm

always defined when compiling code for an ARM-based processor

__thumb

defined when compiling code that uses Thumb instructions

__PALMOS_ARMLET__

always defined with the Palm OS ARMlet compiler (as opposed to the
Metrowerks embedded tools ARM compiler)

__MWERKS__

will detect Metrowerks compiler (as opposed to the ADS tools)


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to