From: Joel Brobecker <brobecker@adacore.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: prefer in-tree libiconv over the system libiconv?
Date: Mon, 20 Apr 2009 22:34:00 -0000 [thread overview]
Message-ID: <20090420213559.GS2904@adacore.com> (raw)
In-Reply-To: <m3fxg32fk6.fsf@fleche.redhat.com>
> I think the relevant scenario is something like the old Cygnus "devo"
> tree, where you would have libiconv always present and also use the
> single soruce tree on all hosts. In this situation, would you prefer
> to pick up the system iconv on Linux? Or would you prefer to always
> use libiconv and have identical behavior across hosts (at some cost; I
> think the native glibc iconv probably handles more charsets).
My very personal preference is to go for consistency. I like to know
that the library will behave the same from HP/UX to GNU/Linux.
Also, I don't like depending on system libraries, because I lose a bit
of control over what the user ends up using. I am afraid of situations
where we cannot reproduce and identify a bug simply because the user
has a different version of the library from the version that I have.
I think that the current approach would have made more sense if libiconv
was in fact made part of the GDB sources, thus forcing people to have
the libiconv sources be part of their tree.
That being said, now wearing my AdaCore hat, I'm perfectly happy to have
to use a command-line switch. We already do that with libexpat, and
it's done in a script anyway...
I'm actually happy to work on a patch once others have had a chance
to tell us what they would prefer. If no one speaks up, then I guess
I'll implement what my prefered alternative (this is my way of
threatening everyone into participating ;-).
--
Joel
prev parent reply other threads:[~2009-04-20 21:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 20:32 Joel Brobecker
2009-04-20 21:36 ` Tom Tromey
2009-04-20 22:34 ` Joel Brobecker [this message]
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=20090420213559.GS2904@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=tromey@redhat.com \
/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