Hi,

based on my experience with HC08 and PIC18 targets:

>My question: is Keil so well optimizing 
Yes, many/most commercial compilers produce better code.

>or is there a possibillity that I can tweak my code so that sdcc would be 
>translating and linking
Yes, tweaking and optimizing the code could produce code that
sdcc ccompile to fit your memory constraints.

Depending on your level of knowledge this could potentially be
not too difficult, or it could turn out to be a large task.

To start, look at the memory maps produced by the compiler,
then some of the compiled assembly files and try to identify the
biggest culprits and those that would return the biggest savings
if optimized. I'm not familiar with C535 target but pointer usage
is often an issue with small devices/architectures so, as a guess,
you might want to look at those.

Often the biggest gains come from a good strategical moves, not
from smaller tactical tweakings, but this is not alway feasible.


>I work on a Mac and want to get rid of PC software, Keil is the last I
>use :-)
Ah, fellow Mac users, if I can only get rid of PICKit flash burning utility
I'd be PC free...


>Setup:
>Netbeans 6.7
Out of curiosity, do you use Netbeans as an IDE for C/sdcc?
My poison is Eclipse/CDT.

You might want to look at some stuff on my site at

http://www.sparetimelabs.com

See "printf revisited" for some write on experience of sdcc versus
one commercial compiler. And "fun with hc08" for setting up
Eclipse to use sdcc (or vice versa).

just my 2 snt worth, Kusti


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to