Subject: Re: cross compile tips on NetBSD
To: gee308 <port-dreamcast@NetBSD.ORG>
From: Don Gafford <dongafford@hotmail.com>
List: port-dreamcast
Date: 02/16/2001 16:22:32
This is a multi-part message in MIME format.

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

It sounds like you have some header files missing. I am not sure if they =
are cross-platform compatible, but you could do a net search for those =
files. I know they exist on PC versions of NetBSD.=20

-Don

  ----- Original Message -----=20
  From: gee308=20
  To: port-dreamcast@NetBSD.ORG=20
  Sent: Friday, February 16, 2001 4:46 PM
  Subject: cross compile tips on NetBSD


  I'm trying to make the sh4 cross compiler on my freshly installed =
NetBSD box.  I followed the instructions at Hitmen's page, but I am =
getting stuck building gcc .  I am new to this kind of stuff 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_01B5_01C09834.AA0E2930
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.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>It sounds like you have some header =
files=20
missing.&nbsp;I am not sure if they are cross-platform compatible, but =
you could=20
do a net search for those files. I know they exist on PC versions of =
NetBSD.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Don</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dgee308@mediaone.net =
href=3D"mailto:gee308@mediaone.net">gee308</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dport-dreamcast@NetBSD.ORG=20
  =
href=3D"mailto:port-dreamcast@NetBSD.ORG">port-dreamcast@NetBSD.ORG</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, February 16, 2001 =
4:46=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> cross compile tips on=20
  NetBSD</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>I'm trying to make the sh4 cross =
compiler on my=20
  freshly installed NetBSD box.&nbsp; I followed the instructions at =
Hitmen's=20
  page, but I am getting stuck building gcc .&nbsp; I am new to this =
kind of=20
  stuff and NetBSD&nbsp;so I don't know how to read the output of my=20
  build.&nbsp; I already got a slackware 7.1 sh4 cross-compiler =
made.&nbsp;=20
  Here&nbsp;is the message I got when running 'make LANGUAGES=3D"c" all =
install'=20
  :</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.=20
  -I. -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></BLOCKQUOTE></FONT></BODY></HTML>

------=_NextPart_000_01B5_01C09834.AA0E2930--