Menu

#9 ARM Compiler support for __SPIC__

open
nobody
None
5
2003-12-02
2003-12-02
Dave Bacher
No

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.

Discussion


Log in to post a comment.