[cc65] lcc65 compiler

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-03-22 16:23:35


On Wed, Mar 21, 2001 at 01:11:53PM +0100, Maciej Witkowiak wrote:
> The correct address is
> http://members.nbci.com/oric2000/software.html

I remember having seen that page, but I don't remember that the lcc65 compiler
was actually available for download. I had some problems getting it running
under dosemu, but it works now and the results are quite interesting.

The lcc compiler frontend is a lot smarter than the cc65 one, which means that
the generated code is simpler and faster (on a higher level). On the flip
side, the backend seems to be rather simple, registers are emulated by zero
page locations, and there is not even a peep hole optimizer to remove
duplicate register loads and similar things. So while the frontend is quite
clever to optimize register and memory usage, this is partially defeated by
the backend. However, they're using a clever trick for stack handling and
parameter passing. Maybe I can steal this one:-)

All in all it would be a real pity if all the labour was wasted. Improving the
backend shouldn't be that complicated, so if anyone has the time and resources
to support another project, this may be a good choice. It may also be that the
binary available from that web page is rather old, so the current version of
the backend is already in a better state. I'm wondering why they aren't making
the sources public, this would probably attact more people.

This does of course not mean that I'm quitting cc65:-) It's just a description
of my impression when looking at the lcc65 binary downloaded from the web
site.
						      
Regards


	Uz


--
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:39 CET