Getting stdin, stdout

Russ.Shaw russell@webaxs.net
Fri Sep 1 16:15:00 GMT 2000


Hi all,

I'm using a hitachi H8/3048F micro in a wire-wrap system,
and want to use scanf and printf, which requires stdin and
stdout. I wan't to use a serial port for stdin/out.

There are io functions and macros in stdio.h, but its not
obvious how i should modify or overide them in my own
program. Anyone know how?
TIA

BTW, i'm using gcc-2.95.2, newlib-1.8.2, etc on a pc
with gnu/linux.

-- 
*******************************************
*   Russell Shaw, B.Eng, M.Eng(Research)  *
*      email: russell@webaxs.net          *
*      Victoria, Australia                *
*******************************************

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



More information about the crossgcc mailing list