[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc65 competition?
On Apr 12, 8:26 pm, Harry Potter <maspethro...@aol.com> wrote:
> I want to compile a simple Hello, World!" program with just one
> printf() function and see how it works.
>
I just did that. The following is the listing of the main() function:
main()
{
printf ("HELLO, WORLD!\n");
getchar();
exit(0);
}
This code produced a 10.9k executable. If I only include the *used*
library functions, as cc65 does, I could easily cut down the code
size.