This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compile libstdc++ 2.7.2?
- To: smurf at noris dot de (Matthias Urlichs)
- Subject: Re: compile libstdc++ 2.7.2?
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 17 Dec 1998 09:10:11 -0800 (PST)
- Cc: schwab at LS5 dot informatik dot uni-dortmund dot de, heitkamp at ibm dot net,egcs at egcs dot cygnus dot com
>
> Hi,
>
> Andreas Schwab:
> > "Frederick V. Heitkamp" <heitkamp@ibm.net> writes:
> >
> > |> I remember reading somewhere that it's not possible to compile
> > |> the 2.7.2 libs with newer gcc/egcs. Has there been a patch?
> >
> > No. What's wrong with using the supplied libstdc++ 2.8?
>
> Netscape (and others) are explicitly linked against libstdc++ 2.7.
> libstdc++ 2.7 contains old parts of libio which conflict with glibc 2.1.
>
> We therefore need a way to recompile libstdc++ 2.7 so that old programs
> continue to work. The only other alternative, as far as I can tell, is to
> force everybody to recompile their program with libstdc++ 2.8 before we can
> upgrade glibc to 2.1. This is a Bad Thing.
>
My netscape binary works just fine with glibc 2.1. Don't recompile
libg++ 2.7. Leave it alone. You should remove libg++.a and libg++.so
though.
--
H.J. Lu (hjl@gnu.org)