Re: local-host tools used during NetBSD xcompilation

Alan Barrett <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.