Need these newlib fixes...

Russ.Shaw russell@webaxs.net
Fri Aug 11 21:34:00 GMT 2000


Hi all,

I'm using gcc and newlib for the hitachi H8-300H cpu.
For newlib-1.8.2, i did:

mkdir build-newlib
cd build-newlib
../newlib-1.8.2/configure --target=h8300-hms
make
#make install

******* Bug 1 *******

If doing a newlib-1.8.2 build should be done in a different
directory to the source, then the file: newlib-1.8.2/newlib/Readme
is wrong:

                        README for newlib-1.8.2 release
           (mostly cribbed from the README in the gdb-4.13 release)

This is `newlib', a simple ANSI C library, math library, and collection
of board support packages.
.
.
.
To build NEWLIB, you can just do:

	cd newlib-1.8.2
	./configure --target=<your target>
	make all install

This will configure and build all the libraries and crt0 (if one exists).
If `configure' can't determine your host system type, specify one as its
argument, e.g., sun4 or sun4sol2.  NEWLIB is most often used in cross
environments.


******* Bug 2 *******

When i do 'make' and 'make install' (in a separate build directory),
the texinfo files are not installed in /usr/local/info.

When i do 'make install-info', the files are installed. However, i
had to look thru the makefile script to find this option, because
its not documented anywhere else.


******* Bug 3 *******

Because there is no entry for the h8300-hms in newlib-1.8.2/libgloss,
then the info:  newlib-1.8.2/libgloss/doc/porting.texi doesn't get
installed.

Porting.texi looks like it has all the information i've been looking
for to do board-support packages etc.


******* Feature Request *******

Is there any chance of someone having or doing a board-support addition
for the h8300-hms pleeeease ?

TIA


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



More information about the Newlib mailing list