Ben Combee wrote: > At 11:25 PM 7/27/2005, you wrote: > >Good idea: one was 80 bytes. I finally managed to make things > >work, but CW seems shaky: at times, you get a wrong PRC; but > >re-creating the target with the very same settings suddenly > >works. > > >One last question: my complete PRC (code+resource) is 400 Kb, > >but my resource PRCs are also 400 Kb, even if I removed other > >segments from these targets (that I cloned from the regular > >ones). I tried checking "Link Single Segment", removed all > >debug symbols, etc, to no avail. Normally, this resource data > >should be about 32 Kb, given that the first segment (out of 5) > >of my full PRC hold both the resource data and a few source > >files. With PRCExlorer, I notice code resources among other UI > >resources in this would-be UI resources-only 'rsrc' PRC. > >How can I drop them?
> I don't know exactly how you have your targets setup -- what > names you're giving things or if you're linking the output of one > target into another. You shouldn't see any code resources in the > merge target -- the whole part of the linker that pulls in code > is disabled, but if it's merging a PRC from another target into > your PRC, code segments could be introduced. Just carefully check > the file list and turn off any files that aren't your component > resource files. I found that in the PalmRez Post Linker panel of the Linker settings, the field for Mac Resources Files (Input Files group) for my rsrc prc was Auriga.tmp. This must be a remnant of the cloning of the regular appl prc target - does it make sense for the appl prc? When I replaced this by the name of my Constructor file instead, things went better. No more code resource, and a prc file of 80 Kb. -- Luc Le Blanc -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
