[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#112237: compiler versions.



On Fri, Sep 14, 2001 at 03:34:20PM -0400, Doug Alcorn wrote:
> 
> Daniel Jacobowitz <dan@debian.org> writes:
> 
> > g++ 2.95.4 compiled code will NOT run if linked against libstdc++
> > 2.9.  It just won't happen.
> 
> That's a bummer.
> 
> > > Any tips on what command line to use for doing some libraries static
> > > and others dynamic?  Does the '-static' flag only affect the
> > > immediatly previous '-l...'?
> > 
> > No.  But you can link to libstdc++.a explicitly.
> > 
> 
> I can't find a .a file for libstdc++ 2.9 in the debian packages.

That's correct.  You won't find the header files which describe things
in libstdc++2.9 either.  We don't support linking to it; you'll need to
build it yourself.

I strongly recommend using the .a for the CURRENT libstdc++.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



Reply to: