An update - it appears that my PRC w/80 segments won't launch on any device,
and totally fails in the emulator as well. The workaround is to edit this
automatically-generated file and do my own "#pragma segment"s, instead of
letting it automatically add them.
This tool is Sybase Ultralite 7.0, btw.
So I guess my revised question still stands - what limits the # of CODE
segments a PRC can contain? Are there performance penalties as the number
of segments increase?
-Jeff
"Jeff Ishaq" <[EMAIL PROTECTED]> wrote in message
news:12227@palm-dev-forum...
>
> 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/