[omniORB] Header files for multiple platforms

Duncan Grisby duncan at grisby.org
Mon Feb 2 14:29:08 GMT 2004


On Wednesday 28 January, "W. Borgert" wrote:

> when using omniORB 4.0.3 for one platform, it's easy: The header
> files are under /usr/(local)/include/omniORB4/.  When developing
> for other platforms (cross compiling), it would be nice, to share
> the header files.  Unfortunately, for some - mostly generated -
> header files, I found differences:
> 
> omniORB4/Naming.hh
> omniORB4/bootstrap.hh
> omniORB4/corbaidl_defs.hh
> omniORB4/corbaidl_operators.hh
> omniORB4/ir_defs.hh
> omniORB4/ir_operators.hh
> omniconfig.h
> 
> The latter file is the configuration of omniORB4, so it's not
> meant to be for cross compilation, but what about the other
> files?  Are there big differences between Linux, Win32, and
> embedded systems?  Thanks in advance!

The files should all be identical for all platforms, apart from types
that are not universally available. The most common problem is that
Windows doesn't support long double, so the corbaidl_* files differ.
long long might be an issue on some platforms, too. If you don't need
to use such types, you can generate the headers for the most
restrictive platform you have, and they should work fine on other
platforms.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list