Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <me@cgf.cx>
To: gdb-patches@sourceware.org,
		cgf-use-the-mailinglist-please@sourceware.org,
		Mark Kettenis <mark.kettenis@xs4all.nl>
Subject: Re: [RFC] Add expat to the GDB sources
Date: Tue, 25 Jul 2006 00:47:00 -0000	[thread overview]
Message-ID: <20060725004739.GB30145@trixie.casa.cgf.cx> (raw)
In-Reply-To: <200607242229.k6OMTR1a022831@elgar.sibelius.xs4all.nl>

On Tue, Jul 25, 2006 at 12:29:28AM +0200, Mark Kettenis wrote:
>cgf wrote:
>>It sounds like you're advocating that every project which relies on
>>external libraries should include the source code for those libraries.
>>If that is the case, it means that we shouldn't bother with shared
>>libraries at all.  Every package would, instead, be bloated by the
>>inclusion of its own version of expat, and openssl, and libtiff, etc.
>
>Shared libraries are hard.  You can only do it right if you correctly
>implement a version policy, which is almost impossible to do if you
>don't have some sort of central control.  It really is only worth
>doing if there are more than a handlful of different programs using
>the same library that are likely to be used simultaniously.

The only way I can make sense of the above paragraph is if you were
thinking that I wanted gdb to produce shared libraries.  I'm not talking
about having gdb produce shared libraries for readline and expat.  There
would be little point in doing that.

What I was saying was that if you carry the "no external dependencies"
to every other package on the system then there is very little need
for shared libraries since every package will have its own version
of the packages it needs.

So, shared libraries are not hard.  You rely on the distro to do the
right thing just like you rely on the distro to produce a usable gcc.
Then the packages that come with the distro should use the shared
libraries rather than rolling their own version of the libraries.

cgf


  parent reply	other threads:[~2006-07-25  0:47 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-18 13:40 Daniel Jacobowitz
2006-07-18 13:57 ` Daniel Jacobowitz
2006-07-21  0:35   ` Joel Brobecker
2006-07-21  0:39     ` Daniel Jacobowitz
2006-07-21  0:45       ` Joel Brobecker
2006-07-23 21:52   ` Mark Kettenis
2006-07-23 22:03     ` Daniel Jacobowitz
2006-07-23 22:40 ` Christopher Faylor
2006-07-23 22:57   ` Daniel Jacobowitz
2006-07-23 23:13     ` Christopher Faylor
2006-07-24  0:17       ` Daniel Jacobowitz
2006-07-23 23:15     ` Pedro Alves
2006-07-23 23:18   ` Mark Kettenis
2006-07-24  0:15     ` Daniel Jacobowitz
2006-07-24  6:20     ` Joel Brobecker
2006-07-24 15:30       ` Christopher Faylor
2006-07-24 15:50         ` Daniel Jacobowitz
2006-07-24 16:37           ` Christopher Faylor
2006-07-24 21:58             ` Mark Kettenis
2006-07-24 19:50           ` Eli Zaretskii
2006-07-24 19:52             ` Daniel Jacobowitz
2006-07-24 20:29               ` Eli Zaretskii
2006-07-24 20:36                 ` Daniel Jacobowitz
2006-07-24 15:24     ` Christopher Faylor
2006-07-24 19:47       ` Eli Zaretskii
2006-07-24 19:51         ` Daniel Jacobowitz
2006-07-24 20:22           ` Christopher Faylor
2006-07-24 20:29           ` Eli Zaretskii
2006-07-24 20:43             ` Daniel Jacobowitz
2006-07-24 21:42             ` Christopher Faylor
2006-07-24 22:18               ` DJ Delorie
2006-07-24 22:29               ` Mark Kettenis
2006-07-24 22:34                 ` Daniel Jacobowitz
2006-07-24 22:37                   ` Daniel Jacobowitz
2006-07-25  0:36                     ` Christopher Faylor
2006-07-24 22:49                   ` Mark Kettenis
2006-07-24 23:41                     ` Daniel Jacobowitz
2006-07-25  0:47                 ` Christopher Faylor [this message]
2006-07-31 17:33                 ` Daniel Jacobowitz
2006-07-31 20:24                   ` Daniel Jacobowitz
2006-07-31 20:39                     ` Christopher Faylor
2006-07-31 21:33                     ` Mark Kettenis
2006-08-01  0:42                       ` Daniel Jacobowitz
2006-08-01  1:01                         ` Daniel Jacobowitz
2006-07-24 22:08       ` Mark Kettenis

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=20060725004739.GB30145@trixie.casa.cgf.cx \
    --to=me@cgf.cx \
    --cc=cgf-use-the-mailinglist-please@sourceware.org \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /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