Subject: Re: sysinst, menuc & msgc and DESTDIR builds
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Frederick Bruckman <fb@enteract.com>
List: tech-install
Date: 10/23/2000 10:20:48
On Mon, 23 Oct 2000, Bill Sommerfeld wrote:

> >  > It seems the old menuc and msgc files are picked up when doing a DESTDIR
> >  > build. Any objections to compile the patch below?
> > 
> > Yes.  You can't run DESTDIR's menuc(1), because you might be
> > cross-compiling.
> 
> A correct patch would build a special menuc, etc., for a DESTDIR build
> out of the current source tree with *HOST* tools.  This would require
> menuc to be built twice: one with host tools, one with target tools..

Why single out menuc? What we should have, is a toolchain target that
builds all the host tools and requisite libraries. If you don't want
to sully your main tree, you could set DESTDIR to a tools area and
then set LD_LIBRARY_PATH and PATH for the real (cross) DESTDIR build.


Frederick