Subject: Re: HEADS UP: new toolchain info! (now default on i386)
To: Geoff Wing <gcw@pobox.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 09/23/2001 22:30:10
On Sun, 23 Sep 2001, Geoff Wing wrote:

> Todd Vierling <tv@wasabisystems.com> typed:
> :On Sun, 23 Sep 2001, Geoff Wing wrote:
> :: Was playing around halfway during a build and removed /usr/libexec/cpp0 to
> :: see that things were going OK.  Build bombed out in usr.bin/tn3270/tools/
> :: It seems that <bsd.hostprog.mk> still uses tools from installed system.
> :<bsd.hostprog.mk> is supposed to use the host toolchain -- it's for *host*
> :tools.  8-)
>
> Yes, but it does mean that you'll probably have problems bootstrapping
> a build via "make build" on a different OS or possibly an older OS version.
> I haven't investigated why these programs think they need host tools there.

Some of them, like sh, run programs on the build host. So they should
build programs against the installed libraries and includes, not what's
happening in make build.

The problem is not bsd.hostprog.mk, but prorograms that use it which
aren't portable.

Take care,

Bill