I have a medium-sized program developed in CW 5 for Palm on the Mac, and now I see the writing on the wall. Even if the Eclipse environment is adapted for the Mac, my understanding is that it will be based on the PRC-Tools.

For that reason I am trying to migrate my project to the PRC-Tools (gcc, pilrc, build-prc), and have run into a lot of problems.

Before I list some of them, is there a FAQ on converting? I have found a lot of documentation on the tools, and simple example programs, but no discussion of the pitfalls of converting.

So, here are some issues I have run into, in no particular order:

- The types used for functions and variables seem to be different. For example, it looks like DWord and Ptr are undefined, but equivalent to UInt32 and MemPtr. Is there a list of such correspondences?

- I used rsrc2rcp to convert my CW resource file. It looks OK, I think, with the exception of color icons. There are a number of files with the extension ".pbitm", which I assume are the color icons. Looking at the documentation for build-prc, I do not see that it can incorporate files of that type. How do I translate and incorporate color icons?

- When I try to compile, I get an error "`#include' expects "FILENAME" or <FILENAME>". That is exactly the format of my includes, and is the same as the format in the example. How do I figure out what is causing this?

Any pointers or ideas welcome.

David Linker



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to