This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Stdio redirection?
- To: newlib at sources dot redhat dot com, crossgcc at sourceware dot cygnus dot com
- Subject: Re: Stdio redirection?
- From: Aklilu Noah <naklilu at gpu dot srv dot ualberta dot ca>
- Date: Mon, 2 Oct 2000 10:15:50 -0600 (MDT)
See
http://www.objsw.com/docs/libc_131.html#SEC131
Noah
On Mon, 2 Oct 2000, Russ.Shaw wrote:
> Date: Mon, 02 Oct 2000 16:14:43 +1000
> From: Russ.Shaw <russell@webaxs.net>
> To: Aklilu Noah <naklilu@gpu.srv.ualberta.ca>
> Cc: newlib@sources.redhat.com, crossgcc@sourceware.cygnus.com
> Subject: Re: Stdio redirection?
>
> 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 *
> *******************************************
>
Noah Aklilu
aklilu@nyquist.ee.ualberta.ca
http://www.ee.ualberta.ca/~aklilu/
"Integrity is something you do when no one is looking"