Re: [Sdcc-user] A question on 8051 --stack-auto

2010-03-16 Thread Peter Van Epp
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

Re: [Sdcc-user] A question on 8051 --stack-auto

2010-03-16 Thread Maarten Brock
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'

Re: [Sdcc-user] A question on 8051 --stack-auto

2010-03-16 Thread Peter Van Epp
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

[Sdcc-user] .cod file

2010-03-16 Thread Klampiar
Hi, I want to simulate my code in gpsim thus I have followed this (http://www.micahcarrick.com/04-25-2005/pic-c-programming-linux.html) how to. Problem is so I don't get toggle_led.asm loaded into source viewer, but I get loaded many other files (pic16f667.asm, p16f667.inc ...). I have already

Re: [Sdcc-user] A question on 8051 --stack-auto

2010-03-16 Thread Maarten Brock
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