Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Thiago Jung Bauermann <bauerman@br.ibm.com>,
		Andre Oliveira Loureiro do Baixo <andreolb@gmail.com>,
		gdb-patches@sourceware.org
Subject: Re: [PATCH] PR exp/9103
Date: Fri, 13 Mar 2009 23:37:00 -0000	[thread overview]
Message-ID: <20090313232515.GD30693@adacore.com> (raw)
In-Reply-To: <m3d4cny9y3.fsf@fleche.redhat.com>

> * What to do about hosts without an iconv implementation.  There are
>   three choices:
> 
>   1. Require libiconv on such hosts
>   2. Like #1, but provide a simple way to drop libiconv into the src
>      tree.
>   3. Write a phony iconv-alike that only handles host charset ==
>      target charset, probably also providing "gdb_wchar_t" and various
>      other macros and whatnot to make it all work.

I am not completely opposed to (1).

The problem with this option is that it complicates the requirements
for building GDB. I remember that, not so long ago, I was keen on
trying out the latest and greatest of various programs (Debian usually
lags in the versions it ships, even with "testing". The problem was that
the list of dependencies was so big that I never managed to build
the program I was interested in within the amount of time that I allocated.
GDB is quite far from being that bad, but I personally tend to be sensitive
to these sort of issues. I'd like lambda people to be able to build GDB
relatively simply without having to have to double-check that certain
dependencies are met.

That's why I usually tend to favor option (3), especially if it's not
too much work to do. A slight variation of that option is what Daniel
did for libexpat. Certain features are simply not present unless
libexpat is available.

Otherwise, we need to look at how portable GNU libiconv is.
I don't expect any problem in that department, but then I was suprised
to see that libexpat seemed to be broken on AIX for me.

-- 
Joel


  reply	other threads:[~2009-03-13 23:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c3f94bcc0903101928g3d767b7ah60ac81e8b6f77de@mail.gmail.com>
2009-03-11 15:37 ` Andre Oliveira Loureiro do Baixo
2009-03-11 16:30   ` Daniel Jacobowitz
2009-03-11 17:09     ` Andre Oliveira Loureiro do Baixo
2009-03-11 17:13       ` Tom Tromey
2009-03-11 18:37         ` Andre Oliveira Loureiro do Baixo
2009-03-11 20:29           ` Thiago Jung Bauermann
2009-03-11 22:25             ` Tom Tromey
2009-03-12  1:11               ` Tom Tromey
2009-03-13 23:37                 ` Joel Brobecker [this message]
2009-03-13 23:38                   ` Joel Brobecker
2009-03-14  1:41                     ` Tom Tromey
2009-03-14  0:10                   ` Mark Kettenis
2009-03-17 20:06                     ` Tom Tromey
2009-03-17 22:12                       ` Eli Zaretskii
2009-03-18  3:07                         ` Tom Tromey
2009-03-18  4:20                           ` Eli Zaretskii
2009-03-18 17:11                             ` Tom Tromey
2009-03-18 20:30                               ` Eli Zaretskii
2009-03-18  0:46                       ` Joel Brobecker
2009-03-18  1:14                         ` Tom Tromey

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=20090313232515.GD30693@adacore.com \
    --to=brobecker@adacore.com \
    --cc=andreolb@gmail.com \
    --cc=bauerman@br.ibm.com \
    --cc=gdb-patches@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