At 04:23 PM 7/1/2003, Jim Worden wrote:
After adding one final form to my project (using CW 9.0) I started getting
the following messages from the build:

Segment 'Precompiled Headers' is greater than 64KB, it will generate an
invalid PRC file.
PalmRez Warning: Output resource size is greater than ~64K size limit: 'code
1'

Although I can make a SWAG about what it is trying to tell me I can't find
and reference in any of the manuals that sheds any light on this. I am NOT
using a precompiled header. I did try adding one but it made no difference.

That's the name of your segment. Old stationery-based projects used that for the first segment name, rather than the easier to grasp "Segment 1" or similar.


One interesting thing I noticed but don't understand. The Segments tab in
the Workspace window contains a single table entry of "Precompiled Headers"
with Starter.tsrc, PalmOSRuntime_2i_A5.lib, and all of my source and headers
files listed as subordinate entries.
"Precompiled Headers" shows a code size of 72K in this table so I suppose
that bears out the compile error but what is thus telling me and how can I
affect it.

You can fix this by adding a new segment and moving some of your source files into that segment. Read the section on multiple segment apps in the Targeting Palm OS manual included in the V9 installation folder.


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