[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross compiling for i386



On Tue, Feb 15, 2005 at 04:26:00PM -0800, David O'Brien wrote:
> 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).
>  
I'm not arguing, just explaining what specifically is broken.  :-)


Cheers,
-- 
Ruslan Ermilov
ru_(_at_)_FreeBSD_(_dot_)_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/932e2456/attachment.bin