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: Gcc and message catalogs


* 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

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