> Today when I was adding some code to a palmapp, I got the following
> linker error:
> 
> /APPS/DEVELOP/PALMGCC/gcc-lib-m68k-palmos-coff/2.7.2.2-kgpd-071097/ld:
> region coderes is full (PalmSAF section .text)
> 
> I'm assuming that my code is too big ? If so what can I do about this ?
  
  yes.. you can only have 32k in each code segment.. you can do 
  two things..

    a) use -O2, it optimizes for space

       ->> you might be lucky and it will fit

    b) check out "multilink" written by David Williams.
   
       ->> it is at the avantgo website.. it works like a dream and
           i used it when it was still in beta.. no problems at all
           (except i have to patch it to compile under solaris)

> PS It's been a while since I programmed with gcc.

  :)

az.  
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 26 10 16 11

Reply via email to