[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gettext on win(woe)32
From: |
Bruno Haible |
Subject: |
Re: Gettext on win(woe)32 |
Date: |
Mon, 3 Dec 2007 12:41:34 +0100 |
User-agent: |
KMail/1.5.4 |
David Bruce wrote:
> If, for example, I use "set LANG=nn_NO" (a supported lingua), the program
> terminates immediately at the first call of gettext(). ... Windows displays
> a dialog saying my program encountered an error and had to terminate
This is not the expected behaviour of the gettext() function.
> I cross-build the Windows version of my program on Debian using Debian's
> cross-tools package and libgw32c.a.
I'm not sure that this is a supported platform for GNU gettext. The Windows
platforms that are supported are:
- cygwin (www.cygwin.com),
- mingw (build environment: either MSYS, or cygwin with -mno-cygwin flag
everywhere, see README.woe32).
[1] says "Use of LibGw32c as a separate development library is very
complicated."
> checking host system type... i586-pc-mingw32msvc
This also looks very fishy: mingw implies the use of GCC as compiler, not
MSVC.
> checking for iconv... no, consider installing GNU libiconv
On these platforms, libintl relies on libiconv. Without having installed
libiconv first, you cannot hope to get gettext() work right.
Bruno
[1] http://gnuwin32.sourceforge.net/packages/libgw32c.htm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Gettext on win(woe)32,
Bruno Haible <=