From: Groepaz (groepaz_at_gmx.net)
Date: 2004-01-01 14:17:17
On Thursday 01 January 2004 13:16, Ullrich von Bassewitz wrote: > On Wed, Dec 31, 2003 at 11:53:11PM -0800, Payton Byrd wrote: > > Is there any chance of the compiler becoming > > self-hosting so that it can run on a real CBM system? > > Unfortunately not. The compiler is too big to fit into the memory of a 6502 > machine. The Linux executable has a size of 187KB, and it uses the > dynamically linked C library, so the real size is even larger. > > The original Atari compiler had a stripped down version that run on an > Atari, but this was accomplished by writing several parts of the compiler > in assembler, and by removing compiler features. Since then, a lot of > things have been added, so the compiler size has increased a lot. if anyone is interisted, some time ago i have played with "scc6502" which seems to be another small-c derivate for 6502... its much more limited and non-standard than cc65 (and any other compiler :=P) but it appearently is small enough to run on a c64 (crosscompiled using cc65). you'd still need some kind of assembler/linker to use it though :) gpz ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2004-01-01 14:10:46 CET