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/
opensubscriber is not affiliated with the authors of this message nor responsible for its content.