> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Ben Combee > Sent: Thursday, July 10, 2003 10:40 PM > To: Palm Developer Forum > Subject: RE: What to do w/resource file greater than 64k? > > > > >With that said, I am baffled. Here's the problem I'm seeing. > > > >Codewarrior 9.1 complains with the following WARNINGS: > > > > Segment 'Seg1' is greater than 64KB, it will generate an > invalid PRC > >file. > > > > PalmRez Warning: Output resource size is greater than ~64K size > >limit: 'code 1' > > > >In my Segments tab, the ONLY things listed in Seg1 are: > > > >Seg1 4K 1K > >--------------------------- > >StartupCode.lib 514 42 > >PalmOS.win.pch n/a n/a (actually 2K on hard drive) > >MyApp.rsrc n/a n/a (actually 70K on hard drive) > >MyApp.cpp 3616 987 > > > >Furthermore, when I drag the resulting PRC onto POSE running > an OS3.1 > >dbg ROM (my target platform), I get "Could not install the > Palm OS file > >"MyApp.prc" because an out of memory error occurred while installing > >resource 'code'(1). It's possible that the reason for this error is > >because the size of this resource (68614) is larger than the current > >allowed maximum of 65505." > > This is very odd. Turn of linker map file generation in the > 68K Linker > pref panel and look at the contents of the first code > segment. It may be > that you have inline or template code from other segments > that is being put > into the first segment. If you know that this code won't be > called from a > non-global-providing launch code, you can turn off the > "compiler glue in > first segment" switch in the 68K Linker panel.
After you said the size of the .rsrc file doesn't matter, I decided to create a new CW9 project from the C++ stationary, and then pull in all the files from the 'broken' project into this new one. The Clean Slate approach, and it worked like a charm! Thanks -Jeff Ishaq -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/