opensubscriber
   Find in this group all groups
 
Unknown more information…

p : palm-dev-forum@palm.lyris.net 3 May 2005 • 6:59PM -0400

PODS and multi-segment applications
by Dr. Vesselin Bontchev

REPLY TO AUTHOR
 
REPLY TO GROUP




Hello folks,

The size of my code 1 segment is approaching 31 Kb, so I guess I should start hitting various kinds of limits soon...

First of all, does the gcc compiler have the equivalent of "smart model" that CodeWarrior has? That is, one that uses short relative jumps, whenever possible, and long ones to jump accross more than 32 Kb of code?

Second, how do I make my application a multi-segment one with PODS? It ought to be possible, because it uses the gcc compiler and that compiler (and linker) supports multi-segment applications, according to this

http://prc-tools.sourceforge.net/doc/prc-tools_3.html#SEC17

but how to do it from PODS? All I could find in the documentation

http://www.palmos.com/dev/support/docs/dev_suite/PalmOSDevSuite/Tools_Overview.html

was that

"Sample code generated by the 68K application wizard contains two files to help you create multi-segment applications, if your application is sufficiently large to require multiple segments. These files are Sections.h and Sections.def. You can read the instructions in these files on how to use them."

This isn't terribly helpful. I created a new starter application and  at no point did the wizard ask me whether it is to be a multi-segment application - and no Sections.* files were generated, either. So, how do I do it?

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

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.