Frank Heckenbach wrote:
Hi everyone,
GPC version 20011222, the release candidate #2 for GPC 2.1, has been uploaded to the usual places, CVS and FTP:
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/current/gpc-20011222.tar.gz
There is also one new "feature", the Intl (internationalization) unit by Eike Lange. (I know that normally one should not do major additions so short before a release, but the unit is completely separate from the rest of the compiler and run time system, so even a very unlikely fatal bug would not affect the stability of the whole system.)
No problem to compile for djgpp, uploaded as usual to agnes under the link: ftp://agnes.dida.physik.uni-essen.de/home/maurice/gpc2953b.zip
DJGPP has only partial support for intl: namely setlocale understands only 'C', 'POSIX' and '' but the translations are allowed by environment variables LANG and LANGUAGE (may be in djgpp.env file) Furthermore it needs -liconv in addition to -lintl because the .mo files are coded as usual in ISO (8859-1 for french), which needs to be recoded to DOS codepage (CP850 foir french).
In the zip uploaded I have changed intl.pas and gettextdemo.pas which give a djgpp working example.
Maurice