libtool
[Top][All Lists]
Advanced

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

Re: postdeps empty on OpenBSD


From: Jacob Meuser
Subject: Re: postdeps empty on OpenBSD
Date: Thu, 22 Sep 2005 16:07:39 -0700
User-agent: Mutt/1.4.2i

On Thu, Sep 22, 2005 at 01:58:36PM +0900, Peter O'Gorman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Thorsten Glaser wrote:
> | gcc -shared creates a shared library.
> |
> | On OpenBSD, shared libraries do not link against other shared libraries.
> | The main programme must link against all these.
> 
> Is there a reason for this?

Thorsten's statement is somewhat misleading.  you can definitely link
libraries and dlopened modules against libraries without having all
those libraries linked directly to the executable.

but, there was something of a policy decision made to not link libraries
against eachother.  actually, this policy is somewhat under debate, and
the runtime linker is getting a bit of a reworking ...

as far as why -lstdc++ is not always used, I can't find the reason ATM,
but I do remember some discussion of that at some point.  maybe it's
possible that -lstdc++ is not always necessary for each and every g++
link command?

knowing that not always using -lstdc++ was a conscious decision, I would
really consider libtool adding -lstdc++ to be a bug.

-- 
<address@hidden>




reply via email to

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