[omniORB] ARM byte order problem

Duncan Grisby duncan at grisby.org
Mon Nov 1 18:05:58 GMT 2004


On Thursday 21 October, Michal Kral wrote:

> I have cross-compiled omniORB for a ARM (PXA255) based embedded computer. 
> Everything has proceeded smoothly and seems to work correctly with exception 
> of transfer of doubles between ARM and non-ARM (x86) architecture.
> The problem is that ARM GCC floating point arithmetic uses hybrid 
> little-endian-byte + big-endian-word order.

Eek.

> It is possible to configure omniORB for conversion from this hybrid
> format to IEEE standard ?

Not directly. You can add some #ifdefs to cdrStream.h to cope with
it. Depending on exactly what the situation is, you may need to adapt
the proxy float stuff designed for OpenVMS, that you can find in
CORBA_basetypes.h.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list