This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Stdio redirection?



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"



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]