This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 3.0 & backward compatibility for libstdc++
- To: gcc-help at gcc dot gnu dot org
- Subject: gcc 3.0 & backward compatibility for libstdc++
- From: Laurent Pinchart <laurent dot pinchart at capflow dot com>
- Date: Sat, 23 Jun 2001 12:50:14 +0200
- References: <993291932.10737.ezmlm@gcc.gnu.org>
- Reply-To: laurent dot pinchart at capflow dot com
I'm trying to install a 'Linux From Scratch', and it's driving me crazy.
I installed glibc 2.2.3 & gcc 3.0 (had a little problem with gcc 3.0
when compiling it with LDFLAGS=-static, but that was only a makefile &
env variables problem).
I'm now trying to compile ncurses. The compiler complains that
strstreambuf has no member function named vscan. According to the ISO
C++ standard, strstreambuf has no vscan, and so libstdc++-v3 shipped
with gcc 3.0 has no vscan either. No problem with that.
The problem is that ncurses needs vscan, which was present in the
libstdc++ shipped with gcc 2.95.2 (is that libstdc++-v2 ?). So, to be
able to compile 'old' (the latest ncurses is not so old) programs, I
need a '2.95.2-like' libstdc++. Am I right ?
If I'm right, how should I install it ? Is it possible to download it
without downloading gcc 2.95.2 ? I checked several libstdc++ in
ftp://ftp.gnu.org/pub/gnu/libstdc++, but the numbering scheme puzzles me
(no 3.x version, ...), and I haven't been able to find a 'stand-alone'
libstdc++ identical to the one in gcc 2.95.2. BTW, if someone could tell
me how the libstdc++ versions are numbered, it would be nice. Is 2.8.0 a
v2, and 2.90.8 a v3 ? There was still a vscan in 2.90.6, but not in
2.90.8. So is 2.90.6 a v2 and 2.90.8 a v3 ? I'm lost :-)
Anyway, after downloading the version I need, how should I install it so
I'll be sure it won't overwrite any files nor cause any problem with the
libstdc++-v3 files ?
Any help will be appreciated.
Thanks to everybody in advance.
Laurent Pinchart