Do I need modify newlib code for endian changed?

Liu proljc@gmail.com
Sun Jul 24 11:53:00 GMT 2011


On Sun, Jul 24, 2011 at 7:25 AM, Stuart Longland <redhatter@gentoo.org> wrote:
> 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.
I'm not sure about that, I know very few about newlib.
I working on a little-endian openrisc CPU, may you tell me what to do?

Thanks

> --
> 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