Cross compiling for i386
David O'Brien
obrien at freebsd.org
Tue Feb 15 16:26:00 PST 2005
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 at FreeBSD.org)
More information about the freebsd-amd64
mailing list