thanks indeed, all the advices is helpful i think
yestoday i diable the exception option in PODS linker,
it seem that the .data segment size decreased a lot.
PODS is some weak in the segment programming and debug,
especially latter, it doesn't support cross-segment debug 
as i know.

regards!

ÔÚÄúµÄÀ´ÐÅÖÐÔø¾­Ìáµ½:
>From: Michal Seliga <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[email protected]>
>To: "Palm Developer Forum" <[email protected]>
>Subject: Re: .data segment full problem
>Date:Thu, 18 Aug 2005 12:34:45 +0200
>
>try to make some functions in classes inline and enable inlining for compiler.
>for me it helps a lot (because tables will be smaller) - and if you have really
>lot of them (i have hundreds - generated of course) then every saved byte helps
>
>also try to minimize count of virtual functions
>
>i use metrowerks codewarrior but all what i wrote should work in gcc too
>
>meffee wrote:
>> hi and i am working with a c++ project under PODS 1.2
>> in fact it's a porting project, and i port many classes
>> from other system into PODS. for the size of the project,
>> i have to segment the codes into different segments,
>> but for there are several big classes with lots of code
>> and connection between each other, the link told that
>> .data segment full.
>> 
>> as i know, the global variables and cross-segment call table
>> is resided on the data0 segment. for i don't have too many
>> globals, so i think it is due to the function call table.
>> but for the size of classes, i cannot put all the correlative
>> classes together into a single segment:(
>> 
>> any advice for the question? any help will be highly appreciated
>> and regards
>> 
>
>-- 
>For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



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

Reply via email to