Subject: Re: cross-building on freebsd broken?
To: Simon J. Gerraty <sjg@crufty.net>
From: James Chacon <jmc@NetBSD.org>
List: tech-toolchain
Date: 09/29/2005 10:36:38
On Wed, Sep 28, 2005 at 10:11:54PM -0700, Simon J. Gerraty wrote:
> 
> On Wed, 28 Sep 2005 10:19:24 -0500, James Chacon writes:
> >In reality you're always cross building, if you're actually building the tools
> >and using them to build anything.
> 
> True
> 
> >If you're just wanting to test one-off changes to some subsystem there's alway
> >s
> >
> >USETOOLS=no make
> 
> But in that case, what happens if foo.c tries to include config.h?

It shouldn't. Without tools support enabled it shouldn't be picking up 
HAVE_CONFIG_H from anywhere.

> 
> FWIW I use both.  I very often build just make using the host tools.
> In which case autoconf would seem inappropriate.

Well..you can build make w/o building any of the tools or the compat directory
so I'm not seeing the issue here.

i.e.

build.sh makewrapper

James