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

bjornw@fairplay.no bjornw@fairplay.no
26 Jan 1999 16:03:06 +0100


Sai-Lai Lo <S.Lo@orl.co.uk> writes:

> >>>>> Fabien Azavant writes:
> 
> > I encountered a similar problem with Redhat 5.1 I just put a symbolic
> > link from libstdc++ 2.9 to libstdc++ 2.8 It seems to work fine, but if
> > someone can tell me where I can download a libstdc++ 2.9 for redhat, I'm
> > interested. Thanks.
> 
> 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.
btw, I saw a recommendation from H.J.Lu (maintainer of binutils) on the
egcs-news group to use binnutils-2.9.1.0.19 together with egcs-1.1.1. Apparently
the new binutils should work better with shared libraries and exception-handling.

I'm using binutils-2.9.1.0.19 together with egcs-1.1.1 and omniorb-2.6.1
and it works without problems.

btw: did you fix the ::sleep() call from omni_thread::sleep() ?

> 
> Sai-Lai
> 
> -- 
> Dr. Sai-Lai Lo                          |       Research Scientist
>                                         |
> E-mail:         S.Lo@orl.co.uk          |       Olivetti & Oracle Research Lab
>                                         |       24a Trumpington Street
> Tel:            +44 223 343000          |       Cambridge CB2 1QA
> Fax:            +44 223 313542          |       ENGLAND