lkml.org 
[lkml]   [1999]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: endiannes of the kernel


On Wed, 28 Jul 1999, James K Whiting wrote:

> I am porting Linux to a controller board using the Hitachi SH4 CPU. This
> CPU can operate in either big-endian mode or little-endian mode. Since I
> have control over the hardware and software, I can choose either one
> freely. Is there any advantage to choosing one over the other for the Linux
> kernel? Or should I choose based on other requirements?

If both endian modes are really equivalent for the hardware, then the
right choice may depend on the following:

- If you are a purist, you may just toss a coin to decide, since none
endian mode is superior to the other one.

- If you are rather pragmatic, you want to choose the endian mode of
the architecture that has the best Linux support, thus little endian.
(You must also think about all other tools needed for the O/S, and that
may have to deal with endianness).

Gérard.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.191 / U:1.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site