libstdc++ and glibc 2.1.1?
Joerg Faschingbauer
jfasch@hyperwave.com
Thu Jul 15 12:42:00 GMT 1999
>>>>> "Benjamin" == Benjamin Kosnik <bkoz@cygnus.com> writes:
Benjamin> Joerg:
Benjamin> You seem to be having problems with libstdc++-v2, which is shipped
Benjamin> with egcs. Just to clarify, this list is for libstdc++-v3, which is a
Benjamin> standards-compliant library designed to replace libstdc++-v2.
Sorry, this was my last resort.
Benjamin> As you've noticed, the differences between libio in RH 5.2 and RH 6.0
Benjamin> have introduced a binary incompatibility. Assuming that the shared
Benjamin> libstdc++ library was built correctly, you should be able to configure
Benjamin> your RH 6.0 host with the proper RH 5.2 shared libraries and have
Benjamin> everything work. However, this is not the proper list for that kind of
Benjamin> question. . .
(Yes, but I'll have to use the glibc 2.0.7 dynamic loader which isn't
feasible.)
Benjamin> Using v-3, and changing your code to be standards conformant, gives the
Benjamin> value for y that I believe you're looking for: the character 't';
Benjamin> #include <sstream>
Benjamin> main() {
Benjamin> char x ;
Benjamin> istringstream beitl("this is the input string") ;
Benjamin> char y ;
Benjamin> beitl.read(&y, 1) ;
Benjamin> }
http://sourceware.cygnus.com/libstdc++/ states that egcs 1.1.2 won't
work. Will gcc 2.95?
Thanks a lot,
Joerg
More information about the Libstdc++
mailing list