Do I need modify newlib code for endian changed?

Stuart Longland redhatter@gentoo.org
Sun Jul 24 11:13:00 GMT 2011


On 07/24/11 09:21, Liu wrote:
> Hi all,
> 
> We've changed a CPU into little-endian from big-endian, and binutils
> and gcc have been rewrite for little-endian.
> Do I need modify newlib code for endian changed? If I do, what should I do?

Do you assume endianness anywhere?  If so, then yes.  If not, then no.
-- 
Stuart Longland (aka Redhatter, VK4MSL)      .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter             :.'

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



More information about the Newlib mailing list