At 09:30 2002-11-6 -0800, you wrote:
all segments, AS LOADED (emphasis added), must be a bit smaller than 65,535 bytes. Note that Codewarrior reports inaccurate values for segment sizes and that the linker doesn't fatal error on segments too large. You only see the errror on download.
This is only true in CW for Palm OS R6 or earlier -- V7 added a check that tells you when a segment grows too large, but its only enabled if you have linker warnings enabled. The segment sizes in the project window are inaccurate, but the sizes reported in the map file are correct. This is because the project sizes are based on the compiler, not on what actually gets linked into each segment, which can be smaller after unused code removal.

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