This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc and message catalogs
- To: Dennis Bjorklund <dennisb at cs dot chalmers dot se>
- Subject: Re: Gcc and message catalogs
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Tue, 14 Nov 2000 19:10:57 +0100
- Cc: gcc-bugs at gcc dot gnu dot org, Zack Weinberg <zackw at stanford dot edu>,Geoff Keating <geoffk at redhat dot com>
- References: <Pine.SOL.4.21.0011141824390.26364-100000@muppet17.cs.chalmers.se>
* Dennis Bjorklund (dennisb@cs.chalmers.se) [20001114 18:42]:
> I've done all this and the strings that come from gcc are translated and
> the strings that comes from other programs that gcc call (cc1, ...) are
> not translated.
I've tested it and this seems indeed to be a bug. If cc1 is called directly,
it will honour the locale set (either via LANG or LC_MESSAGES), when called
indirectly via gcc it will use the default locale, i.e. C/POSIX.
To me that indicates that these variables are missing from the environment
that gcc passes on. Zack, Geoff, does one of you know where in the sources I
could check to see if this holds true?
Philipp
--
Penguins shall save the dinosaurs
-- Handelsblatt about Linux on S/390