Dear All,
I am getting the following error. Any idea why this error would occur ?
Link Error : __RuntimeModule__: Near data segment is bigger than 64k.
The total code size is 439K The total Data size is 102K
I am using the Expanded Mode setting as mentioned in white paper by Ben, and reduced the size of the global data to some extent. My code is not using C++ Exception Handling too.I moved from POL to normal C++ application. We are using Code Warrior version 9.
The details of each segment is as shown below.
Segment# Code Data
Segment1 50K 4K Segment2 5K 488 Segment3 34K 3K Segment4 39K 30K Segment5 59K 6K Segment6 59K 31K Segment7 34K 3K Segment8 58K 1K Segment9 53K 21K Segment10 38K 1K Segment11 19K 296
You're generating 30K, 31K, and 21K of data in segments 4, 6, and 9. This is going to be too much data! Look at your own source files for these segments and see which ones are generating so much data, then use the "Dissassemble" command on them to actually see where the DATA section usage is coming from.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
