| ARMlibc for Palm OS |
|
(Note: ** only for Tapwave Zodiac at this time **) |
|
|
source: armlibc.0.3.src.zip |
|
from the readme file:This is a simple start to an armlibc implementation. It is at least good enough at this point to compile Angband, including the Lua scripting language core. The most notable omission at this point setjmp/longjmp, but it’s somewhat rare to find code using these functions anymore. The Lua scripting engine in Angband does use setjmp/longjmp, however it is only used in critical error situations (such as a syntax error during lexical parsing) which should really not be occurring except in development. Your mileage may vary with your particular project. COMPILING: 1) install cygwin & prc-tools: http://prc-tools.sourceforge.net/install/cygwin.html 2) install Palm OS5 SDK: http://www.palmos.com/dev/tools/core.html 3) get & build peal: http://www.sealiesoftware.com/peal/ 4) for sample usage, see the Angband for Palm OS source code: http://www.retrobits.net/palmos/angband.shtml CREDITS: The basic libc structure and modules were taken from the pspsdk. The sscanf codebase (including __vcscan) was taken from the AROS project. The pace_gen code, which wraps the Palm OS API for arm-gcc, was taken from the open source PARM project. Please see accompanying readme/license information for all these excellent open source projects. The buffered stdio routines were taken from YoYo's LJZ code. Much help was gained from Skeezix and YoYo sharing their code and also from the helpful folks on both the Zodiac Gamer Dev Forum and the PalmDev PNO Forum. All remaining errors and omissions are mine. |