This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compile libstdc++ 2.7.2?


> 
> 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]