Re: local-host tools used during NetBSD xcompilation

Tom Spindler <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
> > Right now, there are a fair amount of host-locale binaries built and run
> > during the NetBSD build process - e.g. a bunch of bits in games/, 
> > sys/arch/i386/stand/genprom, etc. Right now, there seem to be no
> > flags, no defines, or anything other than "cc -O -c -o".
> 
> 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>

That's all. Even more amusing is src/games/phantasia's Makefile - which
has uses ${_MKTARGET_LINK} and ${HOST_LINK.c} - but relies on the implicit
rules for .lo set up... somewhere.
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.