Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@gnu.org>
To: schwab@suse.de
Cc: eliz@gnu.org, gdb@sources.redhat.com, binutils@sources.redhat.com
Subject: Re: Bring back the intl subdirectory please
Date: Sun, 23 Jan 2005 14:13:00 -0000	[thread overview]
Message-ID: <200501231413.j0NEDHo3069791@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <je8y6lcm73.fsf@sykes.suse.de> (message from Andreas Schwab on Sat, 22 Jan 2005 20:12:32 +0100)

[Sorry misspelled binutils@sources.redhat.com in the first post]

   From: Andreas Schwab <schwab@suse.de>
   Date: Sat, 22 Jan 2005 20:12:32 +0100

   "Eli Zaretskii" <eliz@gnu.org> writes:

   >> Date: Sat, 22 Jan 2005 17:04:43 +0100 (CET)
   >> From: Mark Kettenis <kettenis@gnu.org>
   >> 
   >> There are now several bug reports about gdb 6.3 being broken due to
   >> missing libintl.h.  Basically all non-GNU systems are broken, unless
   >> GNU gettext was installed on the system.
   >> 
   >> Andrew, can you add it back please.
   >
   > Seconded.

   Modern gettext uses AM_GNU_GETTEXT(external) for this.  Maybe time to dump
   CY_GNU_GETTEXT?

That may not be such a bad idea, but there is a more fundamental
problem here.  GDB shares the bfd/ and opcodes/ with binutils.  Since
these directories are gettext-ized, we cannot change the way we handle
gettext without changing binutils too.  This is where things went
wrong in the first place; we removed intl/ from the GDB distribution
but it is still distributed with binutils, and everything in bfd/ and
opcodes/ still assumes it's there.  So as a short-term fix I really
think we should simply add back intl/ to the GDB distribution.

Then we (GDB and binutils) should consider what to do with intl/.  We
have basically two options:

1. Drop intl/ and only enable NLS if an external libintl is available
   (which on GNU/Linux systems is available as part of glibc).  We'll
   need to upgrade the configuration magic in bfd/, opcodes/, gdb/,
   binutila/, gas/ and ld/.  I've tried this for bfd/, opcode/ and
   gdb/ which seems to work reasonably well.

2. Update intl/.  We can either upgrade to the gettext used by GCC or
   a more recent version.  The GCC version is probably easier since it
   already has the modifications needed for the layout of our source
   tree.

There is of course the third option:

3. We give shit about anything that's not GNU.  GNU/Linux is now so
   dominant that we don't care about other systems.  Users of non-free
   software deserve what they get and should not complain.

I hope that option doesn't have any backers.

Anyway, the argument for option #1 is that intl/ might not build
properly on some (presumably) non-GNU systems.  I've never encountered
such a system on the recent past, and I only have a vague recollection
about intl/ not building properly on a system because there was a
broken install of GNU gettext on that system.  The argument for option
#2 obviously is that it would give everyone a properly gettext-ized
GDB and binutils.

Personaly I don't really care about internationalization, so I'd vote
for #1.

Mark


  parent reply	other threads:[~2005-01-23 14:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-22 16:04 Mark Kettenis
2005-01-22 18:53 ` Eli Zaretskii
2005-01-22 19:12   ` Andreas Schwab
2005-01-23 14:09     ` Mark Kettenis
2005-01-24 19:51       ` Andrew Cagney
2005-01-24 20:29         ` Mark Kettenis
2005-01-24 21:24           ` Andrew Cagney
2005-01-25 20:51             ` Mark Kettenis
2005-01-26 15:56               ` Andrew Cagney
2005-01-26 16:20                 ` Mark Kettenis
2005-01-26 20:07                   ` Andrew Cagney
2005-01-26 23:28                     ` Mark Kettenis
2005-01-23 14:13     ` Mark Kettenis [this message]
2005-01-23 21:45       ` Eli Zaretskii
2005-01-24 18:03       ` Ian Lance Taylor

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=200501231413.j0NEDHo3069791@elgar.sibelius.xs4all.nl \
    --to=kettenis@gnu.org \
    --cc=binutils@sources.redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb@sources.redhat.com \
    --cc=schwab@suse.de \
    /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