Subject: Re: "make install" lossage, redux
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Miles Nordin <carton@Ivy.NET>
List: current-users
Date: 12/25/1999 18:22:27
On Sat, 25 Dec 1999, der Mouse wrote:

> chroot /mnt /usr/libexec/sendmail/sendmail -O AliasFile=/etc/aliases -bi

this makes sendmail into a ``host'' binary, so in a cross build you'd have
to build a sendmail for the host architecture just to run this command,
and then the usual sendmail for the target as well.

but if the db files have endiness, it's completely hopeless anyway, yes?

i bet there are more problems like this.  maybe cross builds should
include a Makefile-target that you have to 'make' on the target machine
once the host-bound cross build is done.  i don't think this is an
unreasonable inconvenience, esp. if the Makefile target is small and the
cross-built tree is bootable before this new Makefile-target has been

this may be the only way to sanely support cross builds of such a big
operating system, especially if making non-cross-builds less automated
than 'make distrib' should be considered insane.

Miles Nordin / v:1-888-857-2723 fax:+1 530 579-8680
555 Bryant Street PMB 182 / Palo Alto, CA 94301-1700 / US