> From: Jeff Ishaq [mailto:[EMAIL PROTECTED]]
> Segment 1 has 231K of code, and 11K of data.  There appears 
> to be about 83k of my code, and then a big 148k static library
> 
> Another segment has a single, 66k .c file in it.  It shows up 
> as 66k of Code, 4k of data.
> 
> I know a CODE segment can't be more than 64k, and if I build 
> this PRC and look at it on the Palm device, it is comprised of
> a bunch of records of less-than-64k.  The largest one is 59978 bytes
> 
> What's going on?  If I can't rely on CW6 to show accurate 
> segment sizes,

The CW IDE is showing the total amount of compiled object code in each file
or library, not the amount of code that actually gets linked into the
executable.  For your 148K library you must be using only a small subset of
the functions in it.

> is the only way I know I need to add another segment when
> I can no longer install the PRC on the device?

No, look in the linker map file.  It shows the exact sizes.

-slj-


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

Reply via email to