[fpc-pascal] Re: PowerPC Linux and endian modes

Seth Grover sethdgrover at gmail.com
Fri May 20 14:43:33 CEST 2011


Henry and Jonas, thanks a lot for your responses and giving me an idea
of at least where I'd want to start looking if that were the case.
Honestly it's something of a pipe dream at the moment, so who knows if
I'll even go down that path, but you've given me a place to begin if I
do.

Have a good weekend,

-SG

--
This email is fiction. Any resemblance to actual events
or persons living or dead is purely coincidental.

Seth Grover



On Thu, May 19, 2011 at 4:39 PM, Seth Grover <sethdgrover at gmail.com> wrote:
> Greetings!
>
> Wikipedia (http://en.wikipedia.org/wiki/PowerPC#Endian_modes) states:
>
> "Most PowerPC chips switch endianness via a bit in the MSR (Machine
> State Register), with a second bit provided to allow the OS to run
> with a different endianness."
>
> So the way I am understanding this is that the PPC architecture is
> capable of running in little-endian mode depending on a register flag
> that can be set. And that's about the end of my knowledge on the
> subject.
>
> My question is this: does anyone have any experience with running PPC
> in little endian mode? And would FPC-compiled programs (specifically
> I'm cross compiling to powerpc-linux from x86_64-linux) targeted at
> PPC work in a little endian mode setup?
>
> Thanks,
>
> -SG
>
> --
> This email is fiction. Any resemblance to actual events
> or persons living or dead is purely coincidental.
>
> Seth Grover
>



More information about the fpc-pascal mailing list