ARM Compiler support for __SPIC__
Brought to you by:
jmarshall
Sample Code:
test.c:
#include <PalmOS.h>
// nothing else needs to be in file to reproduce
[cygwin] c:/whatever$ arm-palmos-gcc test.c
Results:
Code fails due to OS_CALL macro that evaluates to __SPIC__
It's not a bug, because the compiler is working just
fine, but it prevents writing ARM code that calls into
PalmOS without thunking to 68k code running in
emulation. For games or multimedia apps, performance
can be much higher if the code doesn't have to thunk.