At 10:45 AM 10/26/2004, you wrote:
First of all, thanks for your reply!

I feared something like this, as I looked through the project. I created a 68K PNO project based on the "simple expample" and somewhere hidden, is a "PNO main"-C file, which I didn't notice before.

PNO support in PODS is a little weak, especially in PODS 1.0. C++ support in PNOs is something we aren't trying to support right now. The best C++ support for PNO development is with CodeWarrior for Palm OS, and even there it's not complete.


Actually I want the framework to work on older devices, too - so going the segmentation approach seems to be a must.

Unfortunately I don't fully understand the PRC documentation, because I do not see where to apply the suggested changes in the makefile(s?). I'm currently compiling release versions of the application, because the debug version already revealed the "coderes full" error a couple of days ago during development. So I guess I have to apply the changes to the release version's makefile...

You don't need to alter the makefiles. The standard PODS managed make system already supports you having a a sections.def file to define new sections.


But even if I could manage these changes, I'm still concerned about implementing the segementation in my object-oriented code. Will I have to transfer the class definitions (*.h) to separate segments, or does this only apply to the method implementations (*.cpp)?

The section modifiers need to be visible on the function prototypes. This includes the method prototypes inside class definitions. Not only does the file where the code is compiled need to know what section the code is in, all the places where that method are called need to know what section it is in.


You do realize that C++ support in PRC-Tools, the 68K compiler, is also lacking. The biggest problem is that support for C++ exceptions isn't implemented.

-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Fourm Archives:   http://news.palmos.com/read/all_forums/



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

Reply via email to