Subject: Re: HELP! hpcarm can't compile
To: Thomas Asami <thomas_asami@hotmail.com>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-hpcarm
Date: 06/19/2002 14:22:02
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.

-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...