Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 02:04:28 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        "David O'Brien" <obrien@freebsd.org>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Cross compiling for i386
Message-ID:  <20050216000428.GC24447@ip.net.ua>
In-Reply-To: <20050215234825.GA96584@dragon.nuxi.com>
References:  <20050215141155.GA29160@gattaca.yadt.co.uk> <20050215195517.GA17904@ip.net.ua> <20050215234825.GA96584@dragon.nuxi.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Feb 15, 2005 at 03:48:25PM -0800, David O'Brien wrote:
> On Tue, Feb 15, 2005 at 09:55:17PM +0200, Ruslan Ermilov wrote:
> > On Tue, Feb 15, 2005 at 02:11:55PM +0000, David Taylor wrote:
> > > Is this supposed to be possible/supported?  And does anyone have any ideas
> > > how to make it work more automatically?
> > 
> > No, this is not supported at all.  What's supported is mounting i386's
> > /, /usr, and /var onto /mnt, /mnt/usr, and /mnt/var, and doing the
> > installworld with DESTDIR=/mnt from amd64.
> 
> This isn't "supported" either.  It happens to work most of the time.
> But isn't a guaranteed by The FreeBSD Project.
> 
Cross-built binaries should be fine.  Some data files generated by
host tools may be corrupt due to endianness and type width issues
(e.g., "long" is 8 bytes on amd64 but only 4 bytes on i386).

Last time I tried installing Alpha world + kernel generated by i386,
the only things I've noticed broken were NLS catalogs and locale
related data files.


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFCEo4MqRfpzJluFF4RAjc/AJ40CRCWTtxk3rbRFENUf0BlcNv9DQCdEBTp
couNyRxgHBAkcTyFGu0wFuo=
=PE5/
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050216000428.GC24447>