[Top][All Lists]

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

Re: postdeps empty on OpenBSD

From: Olly Betts
Subject: Re: postdeps empty on OpenBSD
Date: Mon, 26 Sep 2005 16:52:19 +0000 (UTC)
User-agent: slrn/ (Linux)

On 2005-09-23, Peter O'Gorman <address@hidden> wrote:
> I have no statistics for how many shared libraries are written in c++ but do
> not take advantage of the standard c++ library, at a guess I'd say that the
> majority use some libstdc++ features.

It's perhaps worth noting that not linking libstdc++ to a library that
requires it means it fails to dlopen() - a fatal error.  Whereas linking
libstdc++ to a library which only needs libsupc++ just means that it is
linked to a shared library containing more than it needs (AIUI,
libsupc++ is just a very cut down version of libstdc++).

Linking to libstdc++ when you could get away with libsupc++ is
essentially irrelevant if you're running any other dynamically linked
C++ programs.  In fact it's probably slightly better if everything uses
libstdc++ than some use libsupc++!

To me defaulting to C++ pulling in libstdc++ makes most sense, probably
with an ability to override for the minority who don't require it and


reply via email to

[Prev in Thread] Current Thread [Next in Thread]