Skip to Main Content
Palm OS Programming, 2nd Edition
book

Palm OS Programming, 2nd Edition

by Julie McKeehan, Neil Rhodes
October 2001
Intermediate to advanced content levelIntermediate to advanced
704 pages
19h 33m
English
O'Reilly Media, Inc.
Content preview from Palm OS Programming, 2nd Edition

Installing OReilly Sample project

This section of the tutorial is for both Windows and Unix users of PRC-Tools.

We know our job is to make things as simple as possible for you. As a result, we imagine that when you create a new project you would like it to be as easy as can be expected. So, presto, we have made it so. We’ve created a new, very simple project that has the correct structure of a Palm OS application, but that doesn’t actually do very much. That way, it’s easier to use as the basis of a new application.

Download this project from http://www.calliopeinc.com/stationery.html.

Cloning the Sample Project

Duplicate the OReillyStationery directory:

cp -r OReillyStationery MyProject

Build the project by doing a make:

cd MyProject
make

The resulting PRC can be found in GCC/OReillyStarter.prc.

Customizing the Output File

To change the output file, edit the Makefile by changing the value of the APP variable:

APP=MyProject

In addition, rename the .def file:

mv OReillyStarter.def MyProject.def

Now, when you make, the resulting PRC can be found in GCC/MyProject.prc.

A Non-Debug Build

If you’d like to build without debugging, change the CFLAGS definition in the Makefile from:

CFLAGS = -palmos4.0 $(DEBUGCFLAGS)

to:

CFLAGS = -palmos4.0 $(RELEASECFLAGS)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Palm OS Network Programming

Palm OS Network Programming

Greg Winton
Palm Programming: The Developer's Guide

Palm Programming: The Developer's Guide

Neil Rhodes, Julie McKeehan

Publisher Resources

ISBN: 1565928563Errata Page