Andreas,

I assume you use some sort of *nix. Look in
/Developer/sdcc/share/sdcc/lib/src
It should have the sources and a makefile if I'm not 
mistaken. It requires only a little tweak of the command 
line parameters and output directory. Otherwise there's 
also a makefile in the sourcetree yes.

One other caution: don't mix compiling some files with 
different options than others when using --xstack, --
model-xxx, --stack-auto, --callee-saves.

Maarten

> Hi Marten,
> 
> No, I did not recompile the libs.
> I find the makefile in the source repository on the WEB?
> 
> I am not very experienced with make and options (comming from GUI  
> programming liek Code Warrior and XCODE), so I get quite fast  
> confused with options also in SDCC. Need to fix that ;-)
> 
> I have the xstack just for my reentrant functions in my real  
> application.
> Will increase that.
> 
> Thanks,
> Andreas
> 
> Am 04.02.2007 um 12:37 schrieb Maarten Brock:
> 
> > Hello Andreas,
> >
> > You use both --model-large and --stack-auto. SDCC does
> > not provide a default library for that combination. Did
> > you rebuild the libraries with these options?
> >
> > And what is the use of --xstack-loc 0xFFF0? It is very
> > very small and you don't use --xstack.
> >
> > Greetings,
> > Maarten
> >
> >> Hello everybody,
> >>
> >> I try to use SDCC for my project but I had several problems.
> >> Now I wrote a small test app and found that the following happens:
> >> (Printf goes to an LCD through putchar)
> >>
> >> printf("text") ; // Works fine
> >>
> >> but:
> >>
> >> char *version="1.00";
> >> printf("test %s",version);
> >>
> >> produces crap on the LCD when the string through %s should be  
> >> printed.
> >>
> >> Controller : SAB 80C515
> >> 64kB Flash, 64kB XRAM
> >>
> >> Makefile options:
> >>
> >> CFLAGS = -V --model-large --stack-auto --xstack-loc 0x0FFF0 --iram-
> >> size 0x100 --xram-size 0x10000 --code-size 0x10000 --verbose -L /
> >> Developer/sdcc/share/sdcc/lib/large
> >>
> >> Thanks for all help,
> >>
> >> Andreas
> >
> >
> >
> > ---------------------------------------------------------------------- 
> > ---
> > Using Tomcat but need to do more? Need to support web services,  
> > security?
> > Get stuff done quickly with pre-integrated technology to make your  
> > job easier.
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> > Geronimo
> > http://sel.as-us.falkag.net/sel? 
> > cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Sdcc-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/sdcc-user
> 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to