I'm using a third-party tool that generates a file for inclusion into my CW6
project file.  Unfortunately, this file has grown larger than 64k.  The good
news is that this third-party tool has a #define that, when enabled, simply
uses the "#pragma segment" directive to break this automatically-generated
file up into multiple segments.

The bad news is that is uses a very simple mechanism -- it puts a "#pragma
segment" before every single function, adding 75 little tiny (800-1300 byte)
segments to my PRC.  These show up in the MAP file, though not in CW6's
Segments view of my project.  Remember, this is an automatically-generated
file otherwise I'd just add a single #pramga segment and be done with it.

Is there any harm or performance penalties to having 80 segments in my PRC?
Is there a limit on the # of segments in an app?

Thanks!
-Jeff Ishaq

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