www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/02/12:15:45

Date: Fri, 02 Feb 2001 18:55:06 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: haible AT ilog DOT fr
Message-Id: <8296-Fri02Feb2001185506+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp-workers AT delorie DOT com,
"Juan Manuel Guerrero" <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>
In-reply-to: <14970.45885.260391.572165@honolulu.ilog.fr> (message from Bruno
Haible on Fri, 2 Feb 2001 14:16:45 +0100 (CET))
Subject: Re: gettext pretest available
References: <14970 DOT 45885 DOT 260391 DOT 572165 AT honolulu DOT ilog DOT fr>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019