Subject: Re: local-host tools used during NetBSD xcompilation
To: None <tech-misc@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-misc
Date: 12/27/2007 14:43:24
On Wed, 26 Dec 2007, Tom Spindler wrote:
> > They should, at the very least, be using ${HOST_CC} and ${HOST_CFLAGS},
> > not assuming "cc" and "-O". Are you sure they don't do that?
>
> For src/sys/arch/i386/stand/genprom, here's the contents of Makefile:
> HOSTPROG= genprom
> NOMAN= # defined
> .include <bsd.hostprog.mk>
OK. I am pretty sure that will use ${HOST_CC}.
I'll try to figure out a proper fix eventually. Even if it doesn't
involve building these things from src/tools/foo, it should at least
involve #include "nbtool_config.h".
In the mean time, I suppose it's OK if you continue removing __dead and
similar markers as you find that they cause trouble for you. Once we
have this all fixed properly, we can go back and reinstate the stuff you
had to remove.
--apb (Alan Barrett)