This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: nls patches - need help with make machinery


* Zack Weinberg (zack@wolery.cumb.org) [20000605 10:14]:

> Unfortunately, the code in libintl isn't compiled at all on systems that
> use GNU libc, because configure finds the routines in libc and skips them
> over.  So this would not have helped.

Yep, that's also why I didn't notice the failures. I'm now configuring with
--with-included-gettext which will force the use of the included libintl.

BTW, as Gerald's failure report for SuSE Linux showed, there is another
lurking bug in the code for AM_GNU_GETTEXT. When configure determines
that libc has what is needed, but that the gettext tools are missing, it'll
nevertheless activate the use of libintl. As I've been told by a collegue,
that's a very long standing bug in gettext (approx 2 years). I've tried to
track it down, but the gettext/NLs configury isn't exactly easy to
understand.
 
> I wonder if it would be a good idea to move libintl to the top level
> of the tree, alongside libiberty.

It definitely is. Jeff and I agreed approx. a year ago that in the long run
it should move there.

> It could also avoid the problems with chill's old-style Makefile (though I
> think we should work towards eliminating that).

The patches I'll be checking in in an hour or so will eliminate that
problem, as chill's Makefile.in will now be processed by configure.

> Has anyone done i18n for gdb or binutils?

In terms of partially translating catalogs for binutils, yes, but not with
the configury. Funny thing is, that NLS support is enabled by default, at
least in CVS. But binutils is a different animal, because libbfd and
libopcode both have their own catalogs and then a third catalog for the
programs.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]