No, Codewarrior will not automatically handle it. Under the "Segments" tab
for your project you will see the exact size of each segment. If one is
larger than 64K you are hosed. But to rememdy simply create a new segment
and move some of your code there. Simply drag and drop between segments to
move code around. You should try and reduce the amount of cross segment
calls by keeping related code together. ie if MyCode.c makes a lot of calls
into MyUtils.c then they prolly should go in the same segment.

Take a read of the Codewarrior docs related to multi-seg apps - it's pretty
comprehensive. But if you get stuck we're here...! :-)

Gavin.

-----Original Message-----
From: Murali [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 December 2001 6:24 PM
To: Palm Developer Forum
Subject: Re: Palm Application size


Thank you  Gavin for replying,
I am sure that i have multi-segmented application. In both segments i have 2
different "c" files, In one segment i have all the Appstarrt, appstop and my
database initialization functions, in another segment i have my business
logic.

but how should i make sure that each segment
will not exceed 64k.
I am of the notion that codewarrior will take care of handling those issues
if i take multi-segmented project, but i think i am wrong.
How should i do that....pl. help me in this

Murali

"Gavin Maxwell" <[EMAIL PROTECTED]> wrote in message
news:70701@palm-dev-forum...
>
> Have you actually created multiple segments in the project? It sounds like
> you still have a single segment that's now exceeding 64K...
>
> Gavin.
>
> -----Original Message-----
> From: Murali [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 10 December 2001 5:35 PM
> To: Palm Developer Forum
> Subject: Palm Application size
>
>
>
> Hello Everybody,
>
> I have created a multi-segmented project in codewarrior. I can able to
send
> my application to the device till my application size is 90k. but now my
> application size has become 91k and now i am not able to get my
application
> to the device.
> I am using Codewarrior 4.0.1 , Palm 3 xe.
> Do i need to do any specific settings to get my application to the device.
>
> Thank you in advance,
>
> Murali
>
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
>



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

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

Reply via email to