> Hello, I need help to understand an error coming from PRC-Tools linker. 
> 
> I use this command:
> m68k-palmos-gcc.exe -o app.code.1.sym app.c -lPalmOSGlue
> 
> The (very long) error message starts with this line:
> /usr/m68k-palmos/bin/ld: region coderes is full (app.code.1.sym section .text)
> 
> I think it's related to 'CODE' resource size, which should be less than 64 kb. 
> But the latest version I compiled without this error gives a 54kb .prc file, 
> which includes many resources (fonts, bitmaps ecc.) so how can the 'code' 
> resource be bigger than 64 kb?!

it only needs to be 32k before it is full. you then start getting DISP16 errors
a branch cannot be larger than 32767 bytes (limitation of 68k cpu)

---
Aaron Ardiri
PalmOS Certified Developer
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to