David Bruce wrote:
> I have two Linux-based GPL projects (TuxMath and TuxTyping) that I have b=
> cross-building for Win32 on my Debian system. I have been using the Debia=
> packages for mingw32, mingw32-binutils, and mingw32 runtime. I use
> libgw32c.a as my "glibc". The projects also use SDL, SDL_image, SDL_mixer=
> and SDL_ttf, and everything has worked fine.
> However, I have been working on i18n of tuxmath with gettext, and have no=
> been able to get the crossbuild to work. On Linux, gettext works fine in =
> program. Regarding the crossbuild, the GNU gettext maintainer says:
>>I'm not sure that this is a supported platform for GNU gettext. The Windo=
>>platforms that are supported are:
>> - cygwin (www.cygwin.com),
>> - mingw (build environment: either MSYS, or cygwin with -mno-cygwin fla=
>> everywhere, see README.woe32).
> Ideally, I'd like to find someone who has successfully done a crossbuild =
> this involving gettext, preferably a project using autoconf and automake.
> Short of that, I'd like to learn more about the issues involved in
> cross-compiling for Windows under Linux.
Your post was very vague. It is never enough to say "It's not working!
1) When you say that you "have not been able to get the crossbuild to
work", what do you mean, exactly?
I have never cross-compiled anything, but I will ask the following basic
2) Did you compile gettext yourself with your cross-compiler? Of course,
your cross-compiler cannot link to your Debian gettext.
3) Do you have a pre-compiled MinGW gettext installed? You can get one
at the MinGW download page. Look in the MingGWPorts section.
4) Did you ensure that your cross-compiled or self-compiled
gettext was installed so that the cross-compiler can find its headers
and libraries automatically?
5) Alternatively, did you set CFLAGS and LDFLAGS appropriately?
Your smile counts. The more smiles you share, the more we donate.=A0 Join i=