On 12/8/06, hvreddy <[EMAIL PROTECTED]> wrote: > > Hi , > I am using CW-9.2 for my Application development for Z22 (PALM OS). > I have one big my own Library application which is occupying more than 64K > size. > When i compile this i am getting the following Linker error message. > > Segment 'Segment_1' is greater than 64000 bytes it will create an invalid > prc file. > Link Error :__RuntimeModule__:Near data segment is bigger than 64K > Link Error :eclibimpl.c:'init_common_com_mess' 16-bit data reference to > 'Swelpar_P' is out os range > > ........................... > > Remaining all are similar kind of messages. > > I even enabled in CW settings code model as large.But it is still giving > same problem.Infact i am using MemGluePtr to allocate memory of size more > than 64K using UInt32 pointer . > Is there any limitation in PALM OS that one segment size should not cross > more than 64K. But if we are creating Library i think we cannot create > more than one segment. > In that case is it not possible to create libray whose segment size is > more than 64K.
Please read http://www.palmoswerks.com/discuss/msgReader$4?mode=day -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
