[omniORB] omniORB, solaris10x86 and CORBA::LongDouble

Duncan Grisby duncan at grisby.org
Mon Apr 3 18:09:40 BST 2006


On Wednesday 29 March, "Roloff, Craig A" wrote:

> I get the same error on HP-UX 11.
> 
> Could this be because the omnipython on Sourceforge was build
> on an HP-UX machine that didn't support long doubles?

No -- Python isn't the thing that needs to support long double. As long
as the C++ compiler supports it, omniidl is given a flag to say it's
supported, and it should work ok.

Are you using the configure script or the old-style build with platform
files?  Ideally you should be using configure. What does the configure
script report?  When you run make, quite early on it runs omniidl to
compile corbaidl.idl. What does the make line there say?  It should say
something like this:

../../../bin/omniidl -bcxx -Wba -p../../../../src/lib/omniORB -Wbdebug -v -nf -P -WbF -ComniORB4 ../../../../idl/corbaidl.idl
omniidl: Importing back-end 'cxx'
omniidl: 'cxx' imported from '../../../../src/lib/omniORB/omniidl_be/cxx/__init__.pyc'
omniidl: Preprocessing '../../../../idl/corbaidl.idl' with '/home/duncan/omni/cvs/40/build/lib/omnicpp -lang-c++ -undef -D__OMNIIDL__=0x2420 -DHAS_LongLong -DHAS_LongDouble -D__OMNIIDL_CXX__ "../../../../idl/corbaidl.idl"'
omniidl: Running front end
omniidl: Running back-end 'cxx'


Notice that pre-processor line has -DHAS_LongLong -DHAS_LongDouble in
it. Do you get that in your compile?

Cheers,

Duncan.

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



More information about the omniORB-list mailing list