Subject: Re: endianness of *.db on cross builds
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 05/30/2002 09:16:17
On Thu, May 30, 2002 at 05:51:27PM +0900, Jun-ichiro itojun Hagino wrote:
> do people think it necessary? or should we modify lib/libc/db
> to be bi-endian? (or is it bi-endian already?)
I think the correct byte order should be used for the target.
Can I suggest putting the Makefile fragment into a bsd.endian.mk, or
something like that, so that the code doesn't have to be duplicated
all over the place (at least the code that extracts the "1234" or "4321")?
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>