Subject: NetBSD cross-compile setup tips
To: None <port-dreamcast@netbsd.org>
From: gee308 <gee308@mediaone.net>
List: port-dreamcast
Date: 02/16/2001 19:52:23
This is a multi-part message in MIME format.

------=_NextPart_000_003F_01C09851.FAA4C850
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying to make the sh4 cross compiler on my freshly installed NetBSD =
1.5 box.  I followed the instructions at Hitmen's page, but I am getting =
stuck building gcc .  I am new to this and NetBSD so I don't know how to =
read the output of my build.  I already got a slackware 7.1 sh4 =
cross-compiler made.  Here is the message I got when running 'make =
LANGUAGES=3D"c" all install' :

st-dummy.c:1: sys/types.h: No such file or directory
st-dummy.c:4: stdio.h: No such file or directory
st-dummy.c:5: time.h: No such file or directory
st-dummy.c:6: signal.h: No such file or directory
scan-types: could not invoke /usr/dc/gcc/gcc-2.95.2/gcc/xgcc =
-B/usr/dc/gcc/gcc-2.95.2/gcc/ -B/usr/local/sh-elf/bin/ =
-I/usr/local/sh-elf/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include =
-I. -I. -Iinclude -I/usr/local/sh-elf/sys-include -E -I./ on st-dummy.c



Are there any tips or a web page that I should follow for setting up the =
cross-compiler on NetBSD?
Thanks.
Jason

------=_NextPart_000_003F_01C09851.FAA4C850
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I'm trying to make the sh4 cross =
compiler on my=20
freshly installed NetBSD 1.5&nbsp;box.&nbsp; I followed the instructions =
at=20
Hitmen's page, but I am getting stuck building gcc .&nbsp; I am new to =
this and=20
NetBSD&nbsp;so I don't know how to read the output of my build.&nbsp; I =
already=20
got a slackware 7.1 sh4 cross-compiler made.&nbsp; Here&nbsp;is the =
message I=20
got when running 'make LANGUAGES=3D"c" all install' :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>st-dummy.c:1: sys/types.h: No such file =
or=20
directory<BR>st-dummy.c:4: stdio.h: No such file or =
directory<BR>st-dummy.c:5:=20
time.h: No such file or directory<BR>st-dummy.c:6: signal.h: No such =
file or=20
directory<BR>scan-types: could not invoke =
/usr/dc/gcc/gcc-2.95.2/gcc/xgcc=20
-B/usr/dc/gcc/gcc-2.95.2/gcc/ -B/usr/local/sh-elf/bin/=20
-I/usr/local/sh-elf/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include =
-I. -I.=20
-Iinclude -I/usr/local/sh-elf/sys-include -E -I./ on=20
st-dummy.c<BR><BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Are there any tips or a web page that I =
should=20
follow for setting up the cross-compiler on NetBSD?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>Jason</DIV></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_003F_01C09851.FAA4C850--