Adding inbyte, outbyte to libgloss

Fri Sep 1 02:02:00 GMT 2000

Hi all,

I'm trying to add serial-port stdin/stdout support for the
hitachi H8/300H cpu.

I read porting.texi in newlib-1.8.3/libgloss/doc, and
configure.texi in newlib-1.8.3/etc, but things are still

When i do "../newlib-1.8.3/configure --target=h8300-hms",
i get:

Configuring for a i686-pc-linux host.
*** This configuration is not supported in the following subdirectories:
    (Any other directories should still work fine.)
Created "Makefile" in /home/russell/newlib

I can get rid of this by deleting target-libgloss from line 676
(noconfigdirs) of newlib-1.8.3/ Should i do this so
i can add stuff to libgloss?

I assume next i should add a directory such as
newlib-1.8.3/libgloss/h8300 with these files:

CVS/         configure*    crt0.S    outbyte.c  inbyte.c  syscalls.c   

Anything else to do?

Do i need to redo inbyte/outbyte, or read/write as well?

I'm using the H8/3048F in my own setup with eproms and
no gdb or monitor stuff.

*   Russell Shaw, B.Eng, M.Eng(Research)  *
*      email:          *
*      Victoria, Australia                *

More information about the Newlib mailing list