This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
NLS support will be disabled by default for now
- To: gcc at gcc dot gnu dot org
- Subject: NLS support will be disabled by default for now
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Mon, 27 Nov 2000 04:54:41 +0100
- Cc: Mark Mitchell <mark at codesourcery dot com>
A thread on libc-alpha lead to a short discussion with Paul Eggert. The
result is, that we can't only set LC_MESSAGES as we currently do, as the
result of having mixed locales is undefined.
According to Paul, the only portable way to do it is setting LC_ALL, i.e.
all locale categories. This again will require carefull review of the gcc
code to ensure that nothing goes wrong because of changed collating rules
and similiar. It mostly boils down to ripping out the ctype.h macros as
those are the ones primarily affected by locale changes.
As GCC in its current state is broken for some locales, I'll follow Pauls
advice and make --disable-nls the default until the NLS support is indeed
correct.
Philipp
--
Penguins shall save the dinosaurs
-- Handelsblatt about Linux on S/390