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

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

[Sdcc-user] Modified copy of w7100.h

2010-03-15 Thread Peter Van Epp
While I'm here attached is a modified copy of the w7100.h file in SDCC. I sent a copy to the author some time back but haven't heard anything. I don't quarantee this is entirely correct, but it at least builds and runs on the W7100. Peter Van Epp /*---

Re: [Sdcc-user] How do I rebuild my standard device libraries on Windows?

2010-03-15 Thread Borut Razem
Hi Maarten, the huge library build process should be probably documented in sdccman.lyx? Borut Borut Razem wrote: > Maarten, you was few seconds faster then me ;-) > > Borut > > > Maarten Brock wrote: > >> Mark, >> >> >> >>> So, if I build a Linux compatible SDCC on Linux, can I use

Re: [Sdcc-user] building under Solaris: a little closer

2010-03-15 Thread Dave McGuire
On Mar 15, 2010, at 3:12 PM, Borut Razem wrote: I'm working with 2.9.7, one of the source snapshots from a few days ago, 20100313-5734. The first thing that breaks is the automatic inclusion of -Wall (which is GCC-specific) in CFLAGS. Next comes this line

Re: [Sdcc-user] How do I rebuild my standard device libraries on Windows?

2010-03-15 Thread Borut Razem
Maarten, you was few seconds faster then me ;-) Borut Maarten Brock wrote: > Mark, > > >> So, if I build a Linux compatible SDCC on Linux, can I use it to compile >> the libraries and drop them into my windows environment? Or will I end >> up in some CRLF related purgatory? >> > > No

Re: [Sdcc-user] How do I rebuild my standard device libraries on Windows?

2010-03-15 Thread Maarten Brock
Mark, > So, if I build a Linux compatible SDCC on Linux, can I use it to compile > the libraries and drop them into my windows environment? Or will I end > up in some CRLF related purgatory? No, it should work ok. > What ./configure options do I need to use to enable the huge mode > build?

Re: [Sdcc-user] How do I rebuild my standard device libraries on Windows?

2010-03-15 Thread Mark Swayne
>> With SDCC installed via the installer, how do I rebuild my device libraries? >> > > Actually you can't since the Makefiles are (still) missing. You have to > download the source package and build the libraries from there. > > Borut Thanks for the reply. It leads to a few more (dumb?) que

Re: [Sdcc-user] building under Solaris: a little closer

2010-03-15 Thread Borut Razem
Dave McGuire wrote: >>>I'm working with 2.9.7, one of the source snapshots from a few >>> days ago, 20100313-5734. >>> >>>The first thing that breaks is the automatic inclusion of -Wall >>> (which is GCC-specific) in CFLAGS. >>> >>>Next comes this line in src/pic/ralloc.c: >>> >>> #defi

Re: [Sdcc-user] How do I rebuild my standard device libraries on Windows?

2010-03-15 Thread Borut Razem
Mark Swayne wrote: > I feel like I must be missing something super-obvious, but I'll ask anyway. > > With SDCC installed via the installer, how do I rebuild my device libraries? > > Actually you can't since the Makefiles are (still) missing. You have to download the source package and build th

[Sdcc-user] How do I rebuild my standard device libraries on Windows?

2010-03-15 Thread Mark Swayne
I feel like I must be missing something super-obvious, but I'll ask anyway. With SDCC installed via the installer, how do I rebuild my device libraries? I've downloaded a recent snapshot, and I'd like to experiment with the new huge memory model for 8051, but I need to compile the libraries in

Re: [Sdcc-user] building under Solaris: a little closer

2010-03-15 Thread Dave McGuire
On Mar 15, 2010, at 1:08 PM, Borut Razem wrote: >>I've been working on building sdcc under Solaris with the Sun >> Studio 12 compiler. I've not gotten all the way there, but I've made >> substantial progress. I've detailed a few simple things that need >> fixing for this to work. Most of the

Re: [Sdcc-user] building under Solaris: a little closer

2010-03-15 Thread Borut Razem
Borut Razem wrote: >>The last one is a weird problem that I've not really dug into yet; >> I think it probably has to do with -E handling. The Makefile.dep >> files end up being huge (several megabytes) and contain lots of C >> source code fragments. I ended up just turning that into "t

Re: [Sdcc-user] building under Solaris: a little closer

2010-03-15 Thread Borut Razem
Hi Dave, Dave McGuire wrote: >I've been working on building sdcc under Solaris with the Sun > Studio 12 compiler. I've not gotten all the way there, but I've made > substantial progress. I've detailed a few simple things that need > fixing for this to work. Most of them seem to come f

Re: [Sdcc-user] building under Solaris: a little closer

2010-03-15 Thread Dave McGuire
On Mar 15, 2010, at 12:40 PM, Marc Lobelle wrote: > I'm using sdcc on Solaris (for pic processors) since a few years now, > but I compiled it with gcc. i did not have compilation problems. Yes, I'm trying with gcc right now on a test machine. The code generation of Sun's compiler for UltraSP

Re: [Sdcc-user] building under Solaris: a little closer

2010-03-15 Thread Marc Lobelle
Dave McGuire wrote: >I've been working on building sdcc under Solaris with the Sun > Studio 12 compiler. I've not gotten all the way there, but I've made > substantial progress. I've detailed a few simple things that need > fixing for this to work. Most of them seem to come from the au

[Sdcc-user] building under Solaris: a little closer

2010-03-15 Thread Dave McGuire
I've been working on building sdcc under Solaris with the Sun Studio 12 compiler. I've not gotten all the way there, but I've made substantial progress. I've detailed a few simple things that need fixing for this to work. Most of them seem to come from the autoconf scripts' assumptio