Date: Tue, 15 Feb 2005 16:26:00 -0800 From: "David O'Brien" <obrien@freebsd.org> To: Ruslan Ermilov <ru@freebsd.org> Cc: freebsd-amd64@freebsd.org Subject: Re: Cross compiling for i386 Message-ID: <20050216002600.GA97906@dragon.nuxi.com> In-Reply-To: <20050216000428.GC24447@ip.net.ua> References: <20050215141155.GA29160@gattaca.yadt.co.uk> <20050215195517.GA17904@ip.net.ua> <20050215234825.GA96584@dragon.nuxi.com> <20050216000428.GC24447@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 16, 2005 at 02:04:28AM +0200, Ruslan Ermilov wrote: > 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. Yes, and that in my book means "some brokenness" and not offically supported (ie, to be depended on). -- -- David (obrien@FreeBSD.org)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050216002600.GA97906>