[Mono-list] Endian issue

Paolo Molaro lupus@ximian.com
Mon, 24 May 2004 11:54:45 +0200

On 05/21/04 Neale.Ferguson@SoftwareAG-USA.com wrote:
> My S390 JIT is almost doing the right thing. Apart from some exception handling issues things look pretty good. However, when I run the compiler with the JIT the byte ordering is a problem. For example I produce:
> 0000000    4d5a    0000    0600    0000    0400
> instead of
> 0000000    5a4d    0000    0006    0000    0004 
> S390 is big endian. I see there is a BitConverter class that works it out but does mcs use this or some other method?

Both the ppc and sparc mono ports are big endian and seem to work fine.
What program is miscompiled?


lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better