How much global data does CodeWarrior accommodate?
How much static data?

Thanks.

At 12:48 2002-11-4 -0500, you wrote:
>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.

This wouldn't work, as his problem is having too many
global variables, 
which is overflowing his data segment. These are only
solutions for large 
code segments.

There aren't any easy solutions for having large data
segments. You can 
use expanded mode in CW V8, but this only helps if
your data segment size 
problems are caused by C++ code. Otherwise, you just
need to find ways to 
reduce your usage of global variables.

-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com

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

Reply via email to