the sizes reported in Codewarrior are the sizes of all functions compiled
for that segment, not the sizes of all functions linked into that segment.
To get the latter (the only one that matters) value, you need to look at the
map-file. To get a mapfile, go to the target settings and tell codewarrior
to make one for you. I suspect you have a segment larger than 64K.
-bob mckenzie
-----Original Message-----
From: Miron Ophir [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 7:33 AM
To: Palm Developer Forum
Subject: 4-byte integers & an 11 segment application problem
Hi.
I'm trying to convert a windows-ce application to the palm.
The application is Huge (needs 11 segments so far)
It started fine (doesnt crash immediatley & displays the MMI) , until I
converted it to a 4-byte integer (Including replacing the Runtime Palm OS
(4i)) & from that point it stopped working.
I receive strange launch codes in the event loop, both when the form should
open & upon exit (& in fact in any other event)
(The launch codes are 0xA660018, 0x00170000 & 0x00180000, if it helps)
Another anomality is that once replacing the RunTime palm OS the CodeWarrior
shows the first segment size to be 130+ K (event after only the Runtime
remained there.
1. Do you have any idea what happened to the launch codes?
2. Does anybody know the attributes the first segment should have?
3. Does anybody have other tips for migrating a huge application
(e.g. - how to optimize the allocation to segments, linker options,
stack exhastion, etc.)
--
--
Regards,
Miron.
======================================================================
Eng. Miron Ophir,
The MobiMate Team
E-Mail: [EMAIL PROTECTED]
Home Page: www.mobimate.com
Private E-Mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Private Home Page: http://members.tripod.com/ophirm
ICQ: 6785948
======================================================================
--
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/