HI,

One way to fix your problem is to rearrange the files
In the segament tab in your project.
Here are other methods.

1. create jump islands
2. avoid using too much globals
3. if the function is not reachable add the keyword "far" to the
Beginning of your function.
4. move the unreachable function closer to the calling code.

regards

-----Original Message-----
From: zhiwen chen [mailto:zhiwenchen@;yahoo.com] 
Sent: November 4, 2002 12:01 AM
To: Palm Developer Forum
Subject: about: Multi-segment project--- How to use far, 32-bit references?


Hi,all:
  On windows2000, I use code warrior for palm os v8.0
as IDE and utilize C language. My multi segment
application is too large. Linking error:
_RuntimeModule_: Near data segment is bigger than 64k.
I look up some data of which the following is one. But
I don't know how to use far, 32-bit references.

Near data segment is bigger than 64k 
The project being linked has more than the 64K limit
of global data allowed using near, 16-bit references.
To allow more than 64K of global data, your project
needs to use far, 32-bit references.


__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

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

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

Reply via email to