Hi,

I have just added several forms to an application.  With the new code, I
(think I) have exceeded the 64k limit.  The link error is "16 bit code
reference to XXX is out of range."

I have read several articles on the web (google and POL), targeting palm os,
and palm bible.

These include:

Disabling C++ exceptions (POL)
Disable "Merge compiler glue into segment 1"
Remove form mapping (POL)
Change the optimization settings
Move code to a different segment.

The POL web site suggests moving files from the first segment to another
segment and implies that there can be more than 4 segments.  I read the
article on changing a single segment to a multi-segment and this was no
help.

How does one add another segment to a project?  Is is advisable to add
another segment to a project?  Is it common practice to have more than 4
segments?

Of the above methods for reducing the code size, is there a precedence
and/or preference for their implementation?  For example, I'd expect that
one typically reserves cranking up the optimizations until late in the
development cycle.

Thanks,
Nick.




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

Reply via email to