Subject: Re: cross compiling -cuurent on 1.4/alpha
To: Laine Stump <>
From: Bill Studenmund <>
List: current-users
Date: 12/26/1999 13:28:01
On Thu, 23 Dec 1999, Laine Stump wrote:

> At 06:39 PM 12/23/99 -0800, Bill Studenmund wrote:
> What about the case where you're building newer code on a system with older
> /usr/include? (eg, your build machine is running 1.4.1, and you're doing a
> build of -current). Or does make build not use /usr/include, and I'm
> misunderstanding?

When DESTDIR is set, make build does not use /usr/include for the new
binaries(*). Which is cool as you can build a whole new world (including
tar balls) without touching your installed tree. You have to have
relatively recent tools (like make & friends), but they can (usually) be
built against the old headers & libraries.

(*) A few programs, helper programs, are built and run douring the build
process. These ones use instead of They DO
use the includes files in /usr/includes. But that's because they are run
on the build host. They are NOT installed in the resulting tree.

So say I'm building for arm32 on i386. The helper programs in
/usr/src/usr.bin/tn3270/tools are run on the i386. They aren't installed
in the DESTDIR (which is full of arm32 binaries), so it's right for them
to use the host's includes and libraries. :-)

Take care,