PRC-Tools
This tutorial shows you how to use PRC-Tools to create a simple Palm OS application. It is the second of two possible tutorials that you can read through. The PRC-Tools development environment has a great price (it’s free) and it’s well loved by many a C programmer. Just like CodeWarrior, we have made sure that you can use it in conjunction with the source code and examples in the rest of the book easily (all the code has been compiled within both environments).
Here is what this PRC-Tools tutorial describes:
What PRC-Tools includes (which tools you install and use).
How to install PRC-Tools (this includes instructions first for Windows and then for Unix). This is by far the most complicated portion of this tutorial.
How to use a sample project (OReilly Starter)—a useful starting point.
How to create a new project.
How to make a PRC file.
What PRC-Tools Includes
The most important elements are:
- GNU Compiler Collection (GCC)
This compiles C/C++ code to Motorola 68K. It also functions as a linker.
- Build-PRC
This builds a PRC file from the code and the resources.
- GDB
This is a source-level debugger.
This next section of the tutorial deals with installing PRC-Tools on Windows. Use it, or skip ahead to the Unix section (Section 4.3.3) if you use that platform. After we cover installation for both platforms, we will deal with creating a project.
Installing on Windows
The official distribution location for PRC-Tools is http://prc-tools.sourceforge.net. Our instructions are for installing ...