Version française
Home     About     Download     Resources     Contact us    
Browse thread
Core has landed
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Core has landed
On Fri, May 16, 2008 at 6:16 AM, Richard Jones <rich@annexia.org> wrote:
>  OK, it compiles with this flag but the unit tests fail.  For example
>  on ppc:
>
>  http://koji.fedoraproject.org/koji/getfile?taskID=612162&name=build.log

Oh, that's clear, of course: the PPC architecture is big endian...

The unit tests may fail, but it should still be possible to use the
binary protocol on this platform (and then only there!) if you stick
to using converters derived by the macro preprocessor.

If anybody feels like implementing the feature that big endian
architectures write out data in little endian format (only the C-stubs
need to be adapted), then I'll gladly add that patch...

Regards,
Markus

-- 
Markus Mottl http://www.ocaml.info markus.mottl@gmail.com