Subject: Re: Building tools with build.sh
To: =?ISO-8859-1?Q?St=E9phane?= Witzmann <stephane.witzmann@gmail.com>
From: Greg Oster <oster@cs.usask.ca>
List: tech-toolchain
Date: 08/15/2006 13:49:47
=3D?ISO-8859-1?Q?St=3DE9phane?=3D Witzmann writes:
> (NOTE: I already posted something like this on netbsd-help)
>=20
> Hello
>=20
> I have been unable to build the tools with build.sh for a while. It fai=
ls as
> shown below. I am using a 3.0 userland with an almost-current kernel.
> I also tried building the tools for 4_BETA using a 4_BETA sandbox (last=

> binary snapshot), same error.
>=20
> Please help/fix =21
>=20
> St=E9phane
>=20
>=20
>=20
> ---------------------
>=20
> =23=21/bin/sh
> export DESTARCH=3Di386
> export DESTDIR=3D/home/durandil/NetBSD/head/cross/

I'd change this =22DESTDIR=22 to =22DEST=22 or =22DIR=22 or =22FOO=22 or =
something=20
different... build.sh also sets a =22DESTDIR=22, and I'm wondering if=20
things are just getting confused somewhere (i.e. it picks up the=20
wrong DESTDIR at times?)....  (4_BETA builds just fine for me on=20
a 3.0 box...)

Just an idea.. dunno if it'll help...

> ./build.sh -u -m =24DESTARCH -D =24DESTDIR/dest/ -O =24DESTDIR/obj/ -T
> =24DESTDIR/tools/ tools

(and fix this line appropriately too, of course..)

Later...

Greg Oster