[omniORB] Cross-Compiling omniORB

Duncan Grisby duncan at grisby.org
Mon May 16 17:05:40 BST 2005


On Friday 13 May, Peter Schaefer-Hutter wrote:

> I'm trying to cross-compile omniORB 4.0.6 for a PPC-Target by
> using gcc on a x86-host and the old makefile method.
> 
> Steps i've done:
> 
> 1) Uncommented the line
> 
>    platform = powerpc_linux_2.2_glibc
> 
>    in config/config.mk
> 
> 2) Copied i586_linux_2.0_glibc.mk to powerpc_linux_2.2_glibc.mk
>    because powerpc_linux_2.2_glibc.mk is MIA.

Instead of copying that, use the platform file for one of the embedded
platforms. Those set the correct make variables to suppress the build of
omniidl and other tools, and use versions compiled for the host
architecture.

The key thing is setting the EmbeddedSystem make variable to 1.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list