Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 13:30:15 -0700
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        Mark Peek <mark@whistle.com>, Bruce Evans <bde@zeta.org.au>, Warner Losh <imp@harmony.village.org>, current@FreeBSD.ORG
Subject:   Re: Cross builds and upgrade path from 4.x are broken in usr.bin/file
Message-ID:  <20010813133015.A12153@dragon.nuxi.com>
In-Reply-To: <20010810202300.A80439@sunbay.com>; from ru@FreeBSD.ORG on Fri, Aug 10, 2001 at 08:23:00PM %2B0300
References:  <20010810110151.B7988@sunbay.com> <20010810235643.Y23367-100000@besplex.bde.org> <20010810173751.B60193@sunbay.com> <p05100300b799a7ab0ef4@[207.76.207.129]> <20010810191407.A73485@sunbay.com> <p05100305b799bb5daf9c@[207.76.207.129]> <20010810202300.A80439@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 10, 2001 at 08:23:00PM +0300, Ruslan Ermilov wrote:
> > Your solution does not work. You're creating binary files in HOST 
> > format during the build phase and expecting things such as alignment 
> > and endianness to be the same as the TARGET format. Unless the tools 
> > are built to output for either the appropriate architecture or in a 
> > portable, binary format, you will have problems reading the file on 
> > the TARGET platform. It probably works for you since you're doing a 
> > 4.X->5.0 upgrade on the same platform.
> > 
> What?  ``file -C'' produces different output on Alpha and on i386?
> Are you sure?  (Haven't checked myself.)

They produce the same output, but in the general case they do not need
to.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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