At 20:47 2002-11-12 -0500, you wrote:
Hi everyone.

I am trying to build a project that is giving me the following errors when I
try to run it...

"Link Error: __RuntimeModule__: Near data segment is bigger than 64K."

The other error messages have to do with some of my functions not being
within range of a function it is calling.  I have handled those types of
errors before by simply moving the questionable files closer to each other.
Anyway...
This is a data segment error, not a code segment error. This is caused by having too many global or static variables, having too many C++ virtual tables, having too many exception tables, or something like that. Rearranging your code won't fix this, but taking a look at what files produce a lot of data (look in the data column), doing a disassemble on them, and seeing if you can reduce that size will.

See my whitepaper at http://www.metrowerks.com/pdf/Expanded_Mode.pdf for some more information on one way to solve this, if your problems are due to extensive C++ use.

--
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/

Reply via email to