At 12:55 2003-1-7 -0800, you wrote:
Segments only affect code. This is an error about data. Your application now has more than 64K of global data, which is not something that can be easily addressed under Palm OS. You might be able to get some traction by finding ways to reduce global usage.Hi everyone,I am working on a newer version of some software I have written. This is a multi segment project with the 'Code Model' set to "Large" under the project settings in CW 7. After adding some code, I get a series of errors, many of which are '16 bit reference out of range' I am familiar with this error and they were the cause of using multiple segments a while back. The first error however is: RuntimeModule__: Near data segment is bigger than 64K Re arranging the segments does not fixed this. Could my program be too big to compile? Is there a limit to code size?
I talk about this in a white paper on expanded mode in CW for Palm OS V8 and later. See http://www.metrowerks.com/MW/Develop/Desktop/PalmOS/Professional/Default.htm and click on the White Papers link for details.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
