Subject: Re: Cobalt hangs on boot
To: Len Burns <lenb@sasquatch.com>
From: Soren S. Jorvang <soren@wheel.dk>
List: port-cobalt
Date: 05/22/2000 01:16:42
On Sun, May 21, 2000 at 04:11:35PM -0700, Len Burns wrote:
> > If I come up with source patch for testing, can you cross compile
> > test kernels?
>
> Yes, might need a bit of direction on the cross compile, but we have
> current running here on i386 and are glad to help out if we can be of
> use.

Ok. To set up a cross enviroment that is good enough for the kernel at
least, just install pkgsrc/cross/mipsel-netbsd and use the following
script in place of make.

#!/bin/sh

scriptname=`basename $0`

MACHINE=cobalt
MACHINE_ARCH=mips

export MACHINE MACHINE_ARCH

CROSS=/usr/pkg/cross/mipsel-netbsd/bin

AR=${CROSS}/ar
AS=${CROSS}/ar
CC=${CROSS}/cc
CPP=${CROSS}/cpp
LD=${CROSS}/ld
NM=${CROSS}/nm
RANLIB=${CROSS}/ranlib
SIZE=${CROSS}/size
STRIP=${CROSS}/strip
CXX=${CROSS}/g++

export AR AS CC CPP LD NM RANLIB SIZE STRIP CXX STRIPFLAGS

make $@


-- 
Soren