[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool runs compiler command in wrong locale
From: |
Ralf Wildenhues |
Subject: |
Re: libtool runs compiler command in wrong locale |
Date: |
Sun, 20 Jan 2008 22:24:49 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Bruno,
* Bruno Haible wrote on Sun, Jan 20, 2008 at 05:28:40PM CET:
>
> I have my environment variables set to German (LANG=de_DE.UTF-8), and
> nevertheless the gcc compiler emits its warnings in English *if* invoked
> by libtool.
Thank you for the bug report.
> Find attached a patch for it, relative to libtool-1.5.24 (tested),
> and a tentative patch relative to the libtool CVS (untested).
The branch-1-5 patch looks good to me, except that is fixes compile mode
only and not link mode, but I'll leave it at Peter's discretion as to
when it should be applied.
> Note that $ltenv can only be applied to commands that run a program, not to
> shell builtins like "eval ..." or "(cd ... && ...)".
Yes, which is why the HEAD patch is not ok as it is now; func_show_eval
is also called like this:
| func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S
"../$outputname" "$outputname" )' 'exit $?'
> 2008-01-20 Bruno Haible <address@hidden>
>
> * ltmain.in (lt_env): New variable. Use it when running commands.
(I might work on this, but not right away.)
Cheers,
Ralf