Cross compiling for i386
Ruslan Ermilov
ru at freebsd.org
Tue Feb 15 16:04:26 PST 2005
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 at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050216/b4a5ff52/attachment.bin
More information about the freebsd-amd64
mailing list