Re: [fpc-pascal] Endian issues when porting FPC programs from x86 to other platforms

2010-11-02 Thread Mark Morgan Lloyd
Thomas Schatzl wrote: Hi, Or maybe this is a moot question if FPC is only so far running on platforms that have the same endian as x86 CPU:s? I have no information on this though... I can see at least these targets: - Windows and Linux on x86 CPU:s - Embedded Linux on ARM CPU:s Sparc, PowerP

Re: [fpc-pascal] Endian issues when porting FPC programs from x86 to other platforms

2010-11-02 Thread Thomas Schatzl
Hi, > Or maybe this is a moot question if FPC is only so far running on > platforms that have the same endian as x86 CPU:s? I have no > information on this though... > > I can see at least these targets: > - Windows and Linux on x86 CPU:s > - Embedded Linux on ARM CPU:s Sparc, PowerPC are big en

Re: [fpc-pascal] Endian issues when porting FPC programs from x86 to other platforms

2010-11-02 Thread Marco van de Voort
In our previous episode, Bo Berglund said: > Now, however, the problem may be complicated because the program may > well run on a CPU that is using the *same* endian structure as the > original instrument in which case of course the swaps should not be > done. Correct. > So I need some detector o