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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building newlib for h8300-hms


Hello,

I am trying to build newlib for the h8300-hms series.
I've come across a few pages that tell you how to do it, but
when i build and install it it installs to <prefix>/i686-pc-linux-gnu.

I started with the following PATH:
/usr/local/h8300-hms/bin:/usr/bin:/bin

from the build-newlib directory I configured as such:
../src/newlib/configure --target=h8300-hms --prefix=/usr/local/h8300-hms --srcdir=../src/newlib > configure.out

then did a
make CFLAGS="-Os" all

the instructions i followed said that it should then install to:
/usr/local/h8300-hms/h8300-hms, but it installs to /usr/local/h8300-hms/i686-pc-linux-gnu.

The only thing I can assume is that it is not compiling to the target I
gave it.

Further more I tried the following,
I added to the beginning of my path:
/usr/local/h8300-hms/h8300-hms/bin
which is where the symlinks for the h8300 cross compiler are.

I then removed everything and reran configure as:
../src/newlib/configure --target=h8300-hms --prefix=/usr/local/h8300-hms --host=h8300-hms --srcdir=../src/newlib > configure.out

then ran make the same as above.

I now run into the following error:

gcc  -mh -mn -I/storage/renesas/h8300h/normal/build-newlib/targ-include -I/storage/renesas/src/newlib/libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.11.0\"  -I. -I../../../../../../src/newlib/libc/machine/h8300  -O2 -DSMALL_DTOA -DSMALL_MEMORY -fno-builtin -Os -mh -mn -c ../../../../../../src/newlib/libc/machine/h8300/reg_memcpy.S
../../../../../../src/newlib/libc/machine/h8300/reg_memcpy.S: Assembler messages:
../../../../../../src/newlib/libc/machine/h8300/reg_memcpy.S:23: Error: Wrong size pointer register for architecture.
../../../../../../src/newlib/libc/machine/h8300/reg_memcpy.S:24: Error: Wrong size pointer register for architecture.


Any pointers would be greatly appreciated.

Thanks,
Jason


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