This is the mail archive of the
mailing list for the Cygwin project.
Re: cygport cross-compiling beta1
On 7/20/2010 9:37 AM, Dave Korn wrote:
> On 20/07/2010 06:26, Charles Wilson wrote:
>> On 7/19/2010 9:55 PM, JonY wrote:
>>>> With NLS you will still have at least partial translations, which is
>>>> better than nothing, no?
>>> How about setting up --with-localedir to somewhere version or target
>> There isn't a '--with-localedir' option. But...there IS a --localedir
>> one. How did I miss that?
>> There's still one issue that Yaakov brought up; it's not clear that
>> libintl will actually USE the correct version of the locale files...but
>> some experimentation should answer that question.
> libintl looks in whatever localedir arg you pass to the bindtextdomain
> function at startup. In GCC, that's LOCALEDIR which is correctly passed in
> from $(localedir) in the Makefile. So, it ought to work just fine.
Now I remember. It's that localedir is not passed down to the
subconfigures. After using --localedir, here are the strings embedded
in the gcc binary:
$ strings i686-pc-mingw32-gcc-4.5.1.exe | grep locale
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var
So, you can see that the (top level) configure settings did specify
localedir, and got recorded. But...the only other string with 'locale'
in it is "/usr/share/locale"
So that's not going to work, without upstream changes in the build, or