Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Programming for Palm OS/PrcTools

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

PRC-Tools can be used to cross compile Palm OS software on UN*X compatible systems such as Linux, BSD and Cygwin. installation installing Palm OS SDKs (development material) on Linux Source a Palm OS SDK and place it in /tmp, then: cd /usr/local/share sudo tar xzf /tmp/palmos-sdk-5.0r3-1.tar.gz sudo mv sdk-5r3 palmdev installing PRC-Tools on Debian Lenny Should you find that prc-tools is not packaged for Lenny: cd /tmp wget http://ftp.gnome.org/mirror/cdimage/snapshot/Debian/pool/main/p/prc-tools/prc-tools-arm_2.2.90.cvs20030306-6_i386.deb wget http://ftp.gnome.org/mirror/cdimage/snapshot/Debian/pool/main/p/prc-tools/prc-tools-doc_2.2.90.cvs20030306-6_all.deb wget http://ftp.gnome.org/mirror/cdimage/snapshot/Debian/pool/main/p/prc-tools/prc-tools-m68k_2.2.90.cvs20030306-6_i386.deb wget http://ftp.gnome.org/mirror/cdimage/snapshot/Debian/pool/main/p/prc-tools/prc-tools-utils_2.2.90.cvs20030306-6_i386.deb wget http://ftp.gnome.org/mirror/cdimage/snapshot/Debian/pool/main/p/prc-tools/prc-tools_2.2.90.cvs20030306-6_all.deb sudo apt-get install libstdc++5 sudo dpkg -i *.deb testing PRC-Tools with Hello World Create a file called HelloWorld.c, then: m68k-palmos-gcc HelloWorld.c -o hello m68k-palmos-obj-res hello build-prc Hello.prc "Hello" HELO *.hello.grc Although a Makefile makes for less typing. debugging with GDB build with the -g and -O0 options m68k-palmos-gdb App (where App is the object code fed into build-prc) target pilot localhost:6414 start the app on POSE