Re: Is it feasible to cross-build compat5x binary?
From: Ruslan Ermilov (ru_at_FreeBSD.org)
Date: 10/27/05
- Previous message: Jimmy Scott: "Re: Non-executable stack"
- In reply to: M. Warner Losh: "Re: Is it feasible to cross-build compat5x binary?"
- Next in thread: Ruslan Ermilov: "Re: Is it feasible to cross-build compat5x binary?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 27 Oct 2005 22:57:14 +0300 To: "M. Warner Losh" <imp@bsdimp.com>
On Tue, Oct 25, 2005 at 11:23:23PM -0600, M. Warner Losh wrote:
> I know that cross builds for i386 from amd64 work well enough.
> However, we[*] was unable to get a full cross build for i386 world
> seutp on my amd64 machine when last I tried.
>
I use it on a regular basis:
$ uname -srnm
FreeBSD hammer.runet 7.0-CURRENT amd64
$ uname -srnmv
FreeBSD lurker.runet 7.0-CURRENT FreeBSD 7.0-CURRENT #11: Fri Oct 14 10:05:37 EEST 2005 ru@hammer.runet:/usr/obj/i386/usr/src/sys/LURKER i386
I NFS-mount /, /usr, and /var file systems from i386 to amd64,
and do everything from amd64, inluding installworld,
installkernel, and distribution, with TARGET_ARCH=i386 and
DESTDIR=/mnt.
make __MAKE_CONF=/dev/null \
TARGET_ARCH=i386 \
-DNO_PROFILE KERNCONF=LURKER \
-DNO_CLEAN \
buildworld buildkernel
NFS-mount /, /usr, and /var on /mnt.
make __MAKE_CONF=/dev/null \
TARGET_ARCH=i386 \
-DNO_PROFILE KERNCONF=LURKER \
-DNO_CLEAN \
DESTDIR=/mnt \
installworld installkernel
mkdir /mnt/var/tmp/`date +%Y%m%d`
make __MAKE_CONF=/dev/null \
TARGET_ARCH=i386 \
-DNO_PROFILE KERNCONF=LURKER \
-DNO_CLEAN \
DESTDIR=/mnt/var/tmp/`date +%Y%m%d` \
distrib-dirs distribution
(Sorry, I don't use mergemaster(8) at all.)
Cheers,
-- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer
- application/pgp-signature attachment: stored
- Previous message: Jimmy Scott: "Re: Non-executable stack"
- In reply to: M. Warner Losh: "Re: Is it feasible to cross-build compat5x binary?"
- Next in thread: Ruslan Ermilov: "Re: Is it feasible to cross-build compat5x binary?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|