From: dalgoda@ix.netcom.com (Mike Castle)
To: linux-c-programming@vger.kernel.org
Subject: Re: Why does linking a.so with b.so require execs to be linked both -la and -lb?
Date: Mon, 11 Aug 2003 16:50:21 -0700 [thread overview]
Message-ID: <tmml01xphg.ln2@thune.mrc-home.org> (raw)
In-Reply-To: m3k79jj4av.fsf@bfnet.com
In article <m3k79jj4av.fsf@bfnet.com>,
David Wuertele <dave-gnus@bfnet.com> wrote:
>Why is that? Why should daveprog, which never uses any functionality
>AT ALL from libDaveB.so, have to link to it?
Consider what would happen if everything was using static libraries
instead.
In my opinion, it should be a consistent command line between static and
dynamic linking, with adding -static the only difference.
mrc
--
Mike Castle dalgoda@ix.netcom.com www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
next prev parent reply other threads:[~2003-08-11 23:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-11 21:02 Why does linking a.so with b.so require execs to be linked both -la and -lb? David Wuertele
2003-08-11 23:50 ` Mike Castle [this message]
2003-08-12 0:10 ` David Wuertele
2003-08-12 13:49 ` Glynn Clements
2003-08-12 16:42 ` David Wuertele
2003-08-12 17:54 ` Glynn Clements
2003-08-12 19:12 ` Steven
2003-08-12 0:11 ` David Wuertele
2003-08-12 13:16 ` Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tmml01xphg.ln2@thune.mrc-home.org \
--to=dalgoda@ix.netcom.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).