[A83] Re: CRT (was SDCC port)


[Prev][Next][Index][Thread]

[A83] Re: CRT (was SDCC port)



> Van: Aaron St.John <aaronstj@hotmail.com>
> 
>> What is the point of having Ansi C on the calc really? not much more
>> then the academic pleasure.
> 
> As for people worried about compatibility, I don't see this as a
> problem. One huge advantage of the CRT is it is highly standardized.  The
> likelihood that I'll change the interface of printf() from one library to
> the next is exactly 0, since I will be following the ANSI standard.

Normaly a compiler has a printf() routine in it's lib that expects other
routines (like puts()) available at link time. So you just need to create
some wrappers for the TIOS _puts().

_vputs() is a whole other story though (variable width != ANSI C CRT)

	Henk Poley <><