Subject: Re: HELP! hpcarm can't compile
To: None <briggs@wasabisystems.com>
From: Thomas Asami <thomas_asami@hotmail.com>
List: port-hpcarm
Date: 06/20/2002 01:03:18
Allen Briggs wrote:
>On Wed, Jun 19, 2002 at 03:02:23PM +0000, Thomas Asami wrote:
> > >Also show us what /etc/mk.conf and nbmake-hpcarm contain?
> >
> > The /etc/mk.conf is:
> > USETOOLS=yes
> > USE_NEW_TOOLCHAIN=yes
>
>nbmake-hpcarm is actually a shell script.  Please also let us know what
>it contains.  My nbmake-evbarm, for example, contains:
>========================================================================
>#! /bin/sh
># Set proper variables to allow easy "make" building of a NetBSD subtree.
># Generated from:  $NetBSD: build.sh,v 1.58 2002/05/13 01:44:34 lukem Exp $
>#
>
>DESTDIR='/e/netbsd/current/clean/dest.evbarm'; export DESTDIR
>RELEASEDIR='/e/netbsd/current/clean/release.evbarm'; export RELEASEDIR
>TOOLDIR='/e/netbsd/current/clean/tools.i386'; export TOOLDIR
>MACHINE='evbarm'; export MACHINE
>MACHINE_ARCH='arm'; export MACHINE_ARCH
>USETOOLS=yes; export USETOOLS
>
>exec "$TOOLDIR/bin/nbmake" ${1+"$@"}
>========================================================================
>
>Yours should have different paths and should have hpcarm instead of
>evbarm.  If you didn't use the -R, -T, and -D options when you built
>the toolchain, you will not have the DESTDIR, RELEASEDIR, and TOOLDIR
>settings.

Oops, sorry, I forgot to attach nbmake-hpcarm. Here it is:

#! /bin/sh
# Set proper variables to allow easy "make" building of a NetBSD subtree.
# Generated from:  $NetBSD: build.sh,v 1.62 2002/06/10 14:08:05 fredette Exp 
$
#

TOOLDIR='/usr/src/tools/obj/tools.NetBSD-1.5ZC-i386'; export TOOLDIR
MACHINE='hpcarm'; export MACHINE
MACHINE_ARCH='arm'; export MACHINE_ARCH
MAKEFLAGS='-m /usr/src/share/mk MKOBJDIRS=yes'; export MAKEFLAGS
USETOOLS=yes; export USETOOLS

exec "$TOOLDIR/bin/nbmake" ${1+"$@"}

>-allen
>
>--
>  Allen Briggs                     briggs@wasabisystems.com
>  http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support, 
>Service
>NetBSD development for Alpha, ARM, M68K, MIPS, PowerPC, SuperH, XScale, 
>etc...

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.