Hi,
In addition to Eric's suggestion, you may want to be
sure you really do have 2 segments. I thought I had
multiple segments in my project, but I really didn't.
In addition to specifying multiple segments in
the main project window, you must also do so in the 68K
Linker part of theproject settings dialog.
Check the box for generating a link map. This will tell
you the real size of your segments, not the wishful-thinking
size that's shown in the main project window. If you only
have one segment, you need to uncheck the Link Single
Segment box in the 68K Linker part of the settings dialog.
Good luck,
Greg Bungo
[EMAIL PROTECTED]
(630)949-3250 voice
(630)949-3299 fax
----- Original Message -----
From: Eric VERGNAUD <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 20, 1999 3:04 AM
Subject: Re: Data Segment > 32K?
> > I have a Codewarrior project which produces the following error:
> > __RuntimeModule__: Near data segment is bigger than 64K
> >
> > I have 2 segments
> > Segment 1: Code 29K, Data 19K
> > Segment 2: Code 8K, Data 32K
> >
> > Can someone point me in the right direction to any notes on Code size
> > and segmenting projects.
> > I have Bachmanns book, but is very light on this topic. The Codewarrior
> > documentation is disappointing as always.
>
> Seems you're using the near model, in which relative addresses must be
less
> than 32k.
> In the 68k processor project settings control panel, try checking "Far
> data".
>
> Eric
>
>
>