Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-gdb-patches@sourceware.org>
To: gdb-patches@sourceware.org
Subject: Re: [RFC] Add expat to the GDB sources
Date: Sun, 23 Jul 2006 23:13:00 -0000	[thread overview]
Message-ID: <20060723231320.GB18213@trixie.casa.cgf.cx> (raw)
In-Reply-To: <20060723225712.GA18743@nevyn.them.org>

On Sun, Jul 23, 2006 at 06:57:12PM -0400, Daniel Jacobowitz wrote:
>On Sun, Jul 23, 2006 at 06:40:32PM -0400, Christopher Faylor wrote:
>> Just as a meta-issue, I have to wonder at the precedent of one of the
>> projects which shares 'src' adding directories to the top-level.
>> 
>> I just built gdb on linux and I see that it pulls in ncurses but there
>> is no ncurses directory in src.  Why can't we just say that "building
>> gdb requires a native expat library >= some version" like we do with
>> ncurses?  Any other project which uses expat would just add detection of
>> the expat library to the configure phase.
>> 
>> I've really always hated the habit of duplicating (and essentially forking)
>> other project's source code in 'src' and putting expat there just seems
>> like a step backwards to me.
>
>I'm going to let you and Mark argue this one out, I'm afraid.
>
>We (CodeSourcery) chose to use XML for a couple of projects in order to
>avoid wheel reduplication.  Which means using a pre-written library.
>Personally, I think a simple list of libraries that users need in order
>to build GDB would be reasonable.  But I was quite specifically told
>that other GDB developers (Mark definitely said this - I'm not sure if
>Eli did also) were unhappy at the idea of requiring external libraries.
>So I added it to src.

I obviously missed that discussion, but if it occurred during the time
that I think it did, I have a very good excuse for missing it.

I found your initial announcement about expat but I didn't see (and
actually can't yet find) any discussion about putting expat in 'src'.

Is there a major operating system which doesn't have it easily
available?  And, even if there is, why is gdb different from any other
project out there which might rely on expat?  Would a tool that downloads
expat source from an official web site and builds it be acceptable?

cgf


  reply	other threads:[~2006-07-23 23:13 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 [this message]
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
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=20060723231320.GB18213@trixie.casa.cgf.cx \
    --to=cgf-gdb-patches@sourceware.org \
    --cc=gdb-patches@sourceware.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