This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Do I need modify newlib code for endian changed?
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.
>