Mail Archives: djgpp-workers/2001/02/02/12:15:45
> From: Bruno Haible <haible AT ilog DOT fr>
> Date: Fri, 2 Feb 2001 14:16:45 +0100 (CET)
>
> GNU gettext's libintl is part of many GNU packages, including the next
> version of GCC. A new gettext release is in preparation. I would like
> it to compile out of the box on as many platforms as possible. A
> pretest is therefore available at
>
> ftp://ftp.ilog.fr/pub/Users/haible/gnu/gettext-2001-02-01.tar.gz
>
> It would be nice if you could send me the patches necessary for
> compiling on DJGPP 2.
Wow! that's a heavy one. I redirect this discussion to the DJGPP
developers' list, since I am not the one who ported Gettext to DJGPP.
Juan, could you please prepare the patches required for DJGPP support
in Gettext, using the above pretest as the baseline?
> (The EMX, Mingw32 and Cygwin teams have been
> notified as well). That'd be better than if you had to apply the same
> patches to all GNU packages, 6 months from now.
>
> Before sending me a patch, please verify that it works using
> "./configure", "make", "make check", "make install" and "make uninstall".
>
> Does DJGPP use the Win32 locales (GetACP() and related functions) at
> all?
No, DJGPP doesn't use the Windows locales. It can't: Windows does not
allow DOS programs to access the Win32 API.
But this is actually the tip of an iceberg: DOS and Windows encodings
of 8-bit European and ISO-8859 character sets are different from those
used by Unix and GNU/Linux systems. (Windows is closer to Unix, since
some codepages are exact replicas of the respective ISO-8859 charsets,
but other codepages are different.)
So, apart of the issue of porting the code, there's a separate and
not less important issue of converting the *.po and *.gmo files to the
encoding used by the target OS. It would be nice if this issue could
be solved as part of the Gettext package as well.
Juan, could you please describe the solution to this issue you used in
your port of Gettext?
It would be interesting to know how did the Windows and OS/2 ports
intend to handle this issue
Finally, there's a nuisance due to the fact that the DJGPP library has
an incompatible function whose name is also gettext. Juan found a
solution for this as well, and I will ask him to describe it as part
of his response.
Thanks for letting us know about the new version and fpr giving us
opportunity to submit patches.
Please keep djgpp-workers AT delorie DOT com on the CC list of this
discussion. TIA.
- Raw text -