Discussion:
[omniORB] omniORB-4.1.0 on solaris AMD 64-bit
Stein-Ole Gabrielsen
2007-04-19 13:32:23 UTC
Permalink
Hello,
I have made an attempt of compiling omniORB-4.1.0 on a Sun Fire X4600,
with Solaris 10. So I need to compile for 64-bit Solaris x86 platform.

This is what I did:
1) Installed a 64-bit version of python-2.5 by running the ./configure
script with these two options:
i) CC=cc64 and CXX=CC64, cc64 and CC64 is a path to sh scripts
specifying how to execute cc and CC. (exec cc -xarch=generic64 $*)

2) After python was installed, I ran the omniORB ./configure script
with the same options as for python and also specified the python
executable I just had installed.

3) To be able to compile I had to modify the
./include/omniORB/CORBA_sysdep.h.
i) The line #if __SUNPRO_CC < 0x420 modified to #if __SUNPRO_CC <
0x620, to enable the NEED_DUMMY_RETURN macro.

Have anyone else compiled omniORB for such a system and if anyone sees
obvious mistakes I did, please comment. I haven't actually tested that
the installation works. Does anyone know if there is some omniORB
specified test suite I can use to verify my installation?

Regards
Stein-Ole
Duncan Grisby
2007-04-29 21:14:17 UTC
Permalink
On Thursday 19 April, Stein-Ole Gabrielsen wrote:

[...]
Post by Stein-Ole Gabrielsen
3) To be able to compile I had to modify the
./include/omniORB/CORBA_sysdep.h.
i) The line #if __SUNPRO_CC < 0x420 modified to #if __SUNPRO_CC <
0x620, to enable the NEED_DUMMY_RETURN macro.
That change has already been made in CVS.
Post by Stein-Ole Gabrielsen
Have anyone else compiled omniORB for such a system and if anyone sees
obvious mistakes I did, please comment. I haven't actually tested that
the installation works. Does anyone know if there is some omniORB
specified test suite I can use to verify my installation?
There is a big test suite that was made as part of the OMG's CORBA Open
Source Testing (COST) project. The project died when AT&T stopped
pushing for it, but the code lives on. You can get the code from CVS on
SourceForge in the corba-cost project:

http://sourceforge.net/projects/corba-cost

Both the AT&T and Orbacus tests should work with omniORB.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...