Subject: /include/machine ... where?
To: None <port-sh3@netbsd.org>
From: KIYOHARA Takashi <unknown@pop02.odn.ne.jp>
List: port-sh3
Date: 12/28/2000 02:03:10
sorry

my name is KIYOHARA Takashi
I can't english

tearch me

I have HPC  ( hitachi sh3 persona )
host i386-unknown-FreeBSD4.1 elf
target sh-hitachi-netbsdcoff

http://mail-index.netbsd.org/port-sh3/2000/02/06/0000.html
reading

1-4) extract the snapshot and copy the include files and libraries
	     into /usr/local/sh-*-netbsdcoff/include and
	     /usr/local/sh-*-netbsdcoff/lib.

... snapshot/19991231-coff/comp.tgz

cd /home/hoge/src/
tar xvfz comp.tgz
ln -s /usr/hoge/src/usr/include/ /usr/local/sh-hitachi-netbsdcoff/include
mv /usr/local/sh-hitachi-netbsdcoff/lib
/usr/local/sh-hitachi-netbsdcoff/ldscr
ln -s /usr/hoge/src/usr/lib/ /usr/local/sh-hitachi-netbsdcoff/lib
ln -s /usr/local/sh-hitachi-netbsdcoff/ldscr/ldscripts/
/usr/local/sh-hitachi-netbsdcoff/lib/ldscripts


1.5) make egcs

cd /usr/local/sh-hitachi-netbsdcoff
ln -s include sys-include

Extract egcs and patch
! LIBGCC2_INCLUDES =-I/usr/local/sh-hitachi-netbsdcoff/include

./configure --target=sh-hitachi-netbsdcoff

make
.
.
.
.
make all-recursive
Making all in intl
Making all in lib
Making all in makeinfo
Making all in util
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ./sys-types.h ./sys-protos.h > SYSCALLS.c
/usr/home/unknown/NetBSD/sh3/cross/egcs-1.1.2/gcc/xgcc -B/usr/home/unknown/N
etBSD/sh3/cross/egcs-1.1.2/gcc/ -DCROSS_COMPILE
GCC   -g -O2 -I./include     -I. -I. -I./config  -aux-info
SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
In file included from SYSCALLS.c:86:
include/stddef.h:28: machine/ansi.h: No such file or directory
*** Error code 1

Stop in /usr/home/unknown/NetBSD/sh3/cross/egcs-1.1.2/gcc.
*** Error code 1

Stop in /usr/home/unknown/NetBSD/sh3/cross/egcs-1.1.2.

???
machine/ansi.h ?

cd /usr/local/sh-hitachi-netbsdcoff/include/
ls -l | grep machine
lrwxr-xr-x   1 root  wheel      6  12/14 00:53 machine -> evbsh3

evbsh3 ????
where ??

where machine ?
where evbsh3 ?

ftp download?
host machine i386-unknown-FreeBSD4.1 elf   /usr/include/machine ??

tearch me...

sorry...

KIYOHARA Takashi
unknown@pop02.odn.ne.jp

sorry ... itojun
12/24     (mail)