On Wed, Mar 17, 2010 at 10:29:37AM +0100, Maarten Brock wrote:
> Peter,
>
> >> Yes, stack-auto puts the sloc's on stack too. And you
> >> cannot move slocs to any other memory, because then SDCC
> >> would need sloc's to access those sloc's.
> >>
> > Does that then imply a severe limit on argument
Peter,
>> Yes, stack-auto puts the sloc's on stack too. And you
>> cannot move slocs to any other memory, because then SDCC
>> would need sloc's to access those sloc's.
>>
> Does that then imply a severe limit on arguments to functions? Using
> both --model-large and --stack-auto makes the failing
>>
>>> The overflow in DSEG is all
>>> sloc variables and I don't know how to move those (thats what
>>> stack-auto
>>> is supposed to do I think?) out of the internal ram.
>>
>> Yes, stack-auto puts the sloc's on stack too. And you
>> cannot move slocs to any other memory, because then SDCC
>>
On Tue, Mar 16, 2010 at 11:23:35PM +0100, Maarten Brock wrote:
> Peter,
>
> > The overflow in DSEG is all
> > sloc variables and I don't know how to move those (thats what stack-auto
> > is supposed to do I think?) out of the internal ram.
>
> Yes, stack-auto puts the sloc's on stack too. And yo
Peter,
> The overflow in DSEG is all
> sloc variables and I don't know how to move those (thats what stack-auto
> is supposed to do I think?) out of the internal ram.
Yes, stack-auto puts the sloc's on stack too. And you
cannot move slocs to any other memory, because then SDCC
would need sloc'
Maarten:
Thanks for the reply!
On Tue, Mar 16, 2010 at 09:18:40AM +0100, Maarten Brock wrote:
> Peter,
>
> > I'm compiling stuff for the Wiznet W7100 8051 varient and hit the
> > dreaded "can't allocate DSEG" error. A search through the forum indicates
> > that --stack-auto and/or lar
Peter,
> I'm compiling stuff for the Wiznet W7100 8051 varient and hit the
> dreaded "can't allocate DSEG" error. A search through the forum indicates
> that --stack-auto and/or large model may fix this. Large model alone didn't
> seem to so I rebuilt from source (vi Cygwin) from a recent snap a
I'm compiling stuff for the Wiznet W7100 8051 varient and hit the
dreaded "can't allocate DSEG" error. A search through the forum indicates
that --stack-auto and/or large model may fix this. Large model alone didn't
seem to so I rebuilt from source (vi Cygwin) from a recent snap and modif