In article <86146@palm-dev-forum>, [EMAIL PROTECTED] says... > > I'm having trouble getting my application to link. I get the errors > "Link Error : __RuntimeModule__: Near data segment is bigger than 64k." > and > "Link Error : PalmOS_Startup.c: '__LoadAndRelocate__' 16-bit data > reference to '__segtable__' is out of range." > I'm using Code Warrior 8.0, and I've tried it with both single segment and > multiple segments.
These aren't code problems, but data problems. Your data size has gotten too large for the single 64K data segment. Look and see if you can change some large global variables to pointers to variables allocated at run time. If you're using lots of C++ features like virtual functions and exceptions look into using expanded mode to allocate a second data section for those compiler-generated structures. See the articles at www.palmoswerks.com for ideas on moving data around and restructuring your code to make things fit better. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
