Date : Sat, 02 Jul 2005 15:43:02 +0100
From : jgh@... (Jonathan Graham Harston)
Subject: Re: Small-C v0.73
Richard Gellman <splodge@...> wrote:
> ooo... now you have my interest :)
>
> Whats the memory size of compiled programs, the C library, etc, and
Towers of hanoi comes to about 1200 bytes.
The C library is about 12K and normally lives in sideways ROM/RAM.
I'm adding functionality to the C library and also optimising it
and making it smaller. More functionality, smaller code size!
> can it be used to make paged ROMs?
Yes, with the -R flag: tcc -o rom -R rom/s
I need to work on a linker so that stand-along code can be made
that doesn't include the *entire* library. hanoi/c compiled as a
stand-alone program weighs in at 13K!
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
BBC BASIC for Windows and Internationalisation
See http://mdfs.net/Software/BBCBasic/Windows/ProgTips