[openbeos] Re: libstdc++.r4.so

Oliver Tappe <openbeos@xxxxxxxxxxxxxxx> wrote:
> One general concept of libstdc++ is that it includes the c++-parts of 
> libio 
> and uses the c-parts of libio already contained in libroot. Thus, 
> libio 
> gets "split" across these two libs.
> However, when trying to incorporate libstdc++ into the haiku-tree, 
> I've 
> noticed that there's a version-mismatch between the libio expected 
> from 
> libstdc++ and the one provided by haiku's libroot.

I guess this is not good :)

> Ideally, we'd use the c++-parts of the very libio whose c-parts 
> already 
> live in src/kernel/libroot/posix/glibc/libio. Axel, which glibc 
> version is 
> that?

Judging from the version.h file, it might be 2.3.2 - but it came 
straight from CVS, so it's probably something inbetween this and a 
newer version.

> After doing some research on the net, I am still confused about the 
> exact 
> distributions of libio. There seems to be some correlation between 
> gcc- and 
> glibc-versions, but how that actually works escapes me. Anyone in the 
> know?

Not really. AFAICT these two versions have an identical root, and might 
still be interchangeable. At least the libio from glibc can be compiled 
as a stand-alone library, too.

Bye,
   Axel.


Other related posts: