[fpc-pascal] PowerPC Linux and endian modes
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri May 20 10:36:41 CEST 2011
On 20 May 2011, at 00:39, Seth Grover wrote:
> 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?
As Henry indicated, you'd have to modify the compiler to get it to generate little endian code for a PowerPC target. But little endian PowerPC has not been tested, so it's quite possible that it wouldn't work (e.g., some assembler helpers in the system unit will probably require modifications or disabling, because changing the endianess changes a.o. the layout of set-type variables).
Jonas
More information about the fpc-pascal
mailing list