[omniORB] Cross-Compiling omniORB

Duncan Grisby duncan at grisby.org
Fri Apr 22 17:26:39 BST 2005


On Friday 22 April, =?ISO-8859-1?Q?Peter_Sch=E4fer-Hutter?= wrote:

> I'm trying to cross-compile omniOrb 4.0.6 on a Linux-x86 box for a
> Linux-PPC target using the old make system.
> 
> However, omniidl seems to stumble over the fact that host and target
> have different endianess:
> 
> "ominOrb-4.0.6/lib/powerpc_linux_2.2_glibc/_omniidlmodule.so: ELF file
> data encoding not little-endian"
> 
> I copied the file i586_linux_2.0_glibc2.1.mk to
> powerpc_linux_2.2_glibc.mk and set the options
> 
> PowerPCProcessor = 1
> 
> and changed the CPP, CXX and CC variables to use the cross-compiler.
> 
> Any more to change?

EmbeddedSystem = 1

That suppresses building of omniidl and other tools that aren't
appropriate.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list