Subject: near data segment greater then 64 K
From: "Dave Mottorn" <[EMAIL PROTECTED]>
Date: Sun, 4 Jul 2004 11:42:39 -0400
X-Message-Number: 3

I'm developing an application using Codewarrior 8.something. I just added
the sixth segment and I'm using the large model. I added a large array and
when I try to compile and link, the linker gives me the message in the
subject of this Email. I thought if you used the large model it always used
32 bit pointers.

Unless you are forced to have a segment much greater than 32KB in size, you should use the "Small" memory model with a multi-segment program. This will reduce the size of your program (in the case of our PDE software it was a 15% reduction) with the only downside being the maximum segment code size becomes 32KB or so.


You not put large arrays into to code.  That is the cause of your problem.

There are other, better techniques which don't cause the problems you created.


Roger Stringer Marietta Systems, Inc. (www.mariettasystems.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