Subject: Re: local-host tools used during NetBSD xcompilation
To: Tom Spindler <dogcow@babymeat.com>
From: David Laight <david@l8s.co.uk>
List: tech-misc
Date: 12/29/2007 19:17:45
On Wed, Dec 26, 2007 at 02:50:53AM -0800, Tom Spindler wrote:

> I'd like to see something akin to pkgsrc's buildwrappers to whinge
> and complain if the non-USE_TOOLS compiler is used during the build
> - but at this point, I'd be happy with the .lo and/or bsd.hostprog.mk
> related stuff emit some extra defines. Unfortunately, I have no idea
> where all that sort of thing lives in the bowels of mk/ - any of
> y'all have insight?

Actually some of these builds might be completely broken - since they
may be trying to do tests to determine the nature of the target system!
(eg signedness of 'char')
This can't work for cross builds.
Anything else can usually be rewritten in sh/awk/sed.

	David

-- 
David Laight: david@l8s.co.uk