You are limited to code resources totaling 64k. If you app is larger than that you need to break it into something called "multi-segments". If you don't know how to do this try one/all of these first:
1. Change the linking order of the apps source files 2. Rearrange your source code so that functions that call each other are close 3. Use the "Smart Code" model in CodeWarrior 4. Create "code islands" by linking pieces of code that are more than 32k apart There is a book by Lonnon Foster out called "Professional Palm OS Programming". It's a great resource. It describes how to deal with this problem in detail and how to break out into multi-segments if you need to. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel Fernandes Sent: Friday, May 20, 2005 12:26 PM To: Palm Developer Forum Subject: Invalid PRC file I'm making an application in codewarrior. Can anyone tell me how to resolve this error: Segment 'Segment l' is greater than 64000 bytes, it will generate an invalid PRC file. Tanhk you, Miguel Fernandes -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
