[omniORB] OmniOrb 2.7 / Linux glibc / libstgc++ 2.9

Mark David Spiteri Mark.Spiteri@cl.cam.ac.uk
Wed, 27 Jan 1999 11:09:13 +0000


Thanks to all the people who advised me on setting this up. 

Doing as Sai Lai suggests truly seems the easiest way to achieve a working 
environment. I had tried getting the egcs1.1.1 rpm and its associated 
binutils(19) rpm, but that seemed to break all gcc/egcs. After toiling away to 
restore Redhat 5.2 to its original packages, we then got the source 
distribution of egcs1.1.1 from cygnus and made it up ourselves against the 
default 5.2 packages. Made and installed without problems and provides all the 
right bits, including a working libstdc++ 2.9. Now omniORB examples and code 
is compiling without problems.

And those configure options as detailed below by Sai Lai are crucial.

Regards
Mark

> Don't do that or you will have some unexpected crashes in future.
> 
> omniORB 2.7.0 for linux glibc2 is compiled with egcs-1.1.1. libstdc++ 2.9
> comes with egcs-1.1.1. There is no safe alternative but to install
> egcs-1.1.1. And use these configure options to build egcs-1.1.1:
> 
> $ ./configure --enable-shared --enable-threads
> 
> We are using binutils-2.9.1.0.14. Older versions have bugs that would
> affect C++ programs. I think Redhat 5.2 comes with binutils-2.9.1.0.15 so
> it should be alright.
> 
> Until Redhat and other distributions incorporates egcs-1.1.1, there is no
> alternative but to build the compiler yourself.
> 
> Sai-Lai