Re: Is it feasible to cross-build compat5x binary?
--DMefDzZywwCHZelG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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.
>=20
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=3Di386 and
DESTDIR=3D/mnt.
make __MAKE_CONF=3D/dev/null \
TARGET_ARCH=3Di386 \
-DNO_PROFILE KERNCONF=3DLURKER \
-DNO_CLEAN \
buildworld buildkernel
NFS-mount /, /usr, and /var on /mnt.
make __MAKE_CONF=3D/dev/null \
TARGET_ARCH=3Di386 \
-DNO_PROFILE KERNCONF=3DLURKER \
-DNO_CLEAN \
DESTDIR=3D/mnt \
installworld installkernel
mkdir /mnt/var/tmp/`date +%Y%m%d`
make __MAKE_CONF=3D/dev/null \
TARGET_ARCH=3Di386 \
-DNO_PROFILE KERNCONF=3DLURKER \
-DNO_CLEAN \
DESTDIR=3D/mnt/var/tmp/`date +%Y%m%d` \
distrib-dirs distribution
(Sorry, I don't use mergemaster(8) at all.)
Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer
--DMefDzZywwCHZelG
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFDYTEaqRfpzJluFF4RAnfOAKCM1ayyAre45MKnviHqytMW1c1DkACgkVRE
IJRIsooANoz5/7c/pqjrtDs=
=jMRG
-----END PGP SIGNATURE-----
--DMefDzZywwCHZelG--
討論串 (同標題文章)
完整討論串 (本文為第 14 之 14 篇):