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 endian, there is an ARM big endian target too. Use BEtoN, NtoBE if the source is known to be big endian. (http://www.freepascal.org/docs-html/rtl/system/beton.html) (http://www.freepascal.org/docs-html/rtl/system/ntobe.html) Hth, Thomas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal