Stdio redirection?
Russ.Shaw
russell@webaxs.net
Sun Oct 1 23:12:00 GMT 2000
Hi,
I've searched hi and lo for instructions on how to do
board support functions for newlib (adding to libgloss
which doesn't currently support h8300-hms, iirc).
So, what 'web documentation'?
Aklilu Noah wrote:
>
> Actually you write a set of support functions of which
> two are read and write (low level i/o functions). These
> provide the ability to read and write characters to whatever
> i/o device you are using e.g. a UART.
>
> The web documentation on newlib should provide a list of support
> functions that are required. I believe printf also requires
> a malloc function (for allocating a buffer).
>
> Noah.
>
> On Mon, 2 Oct 2000, Russ.Shaw wrote:
> >
> > Hi all,
> >
> > I'm using gcc-2.95.2 on a gnu/linux system, configured as a
> > cross-compiler for the hitachi h8300-hms.
> >
> > I got a cygnus CD with the hitachi board i bought, but it only
> > works with windoze, and the manuals don't cover what i need...
> >
> > In <stdio.h> (inluded here), how do i get the printf() functions
> > to use my own putch() and getch() functions for the serial ports?
> >
--
*******************************************
* Russell Shaw, B.Eng, M.Eng(Research) *
* email: russell@webaxs.net *
* Victoria, Australia *
*******************************************
More information about the Newlib
mailing list