At 02:33 2002-11-14 -0800, you wrote:
I have a big multi segment application. In one file,
codes are 7kB,while data are 3.8M when compiling and
linking. I think it's abnormal. What reason result in
this? Need I divide it into several files if I want to
link successfully ?
Use the "Disassemble" command on that file to find out what is causing the huge data section. There is no way you'll ever fit 3.8MB of data on a Palm OS device embedded as data in a program, even if you split it into multiple files. You need to find out what it bloating it, and convert that into stand-alone resource or find a way to allocate the space for it dynamically at runtime.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


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


Reply via email to