Message-Id: <201706261829.v5QITSGm010577@delorie.com> Date: Mon, 26 Jun 2017 20:29:39 +0200 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp-announce AT delorie DOT com]" To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: Release 2 of the DJGPP port of GNU Gawk 4.1.4 uploaded. Content-Type: text/plain; charset=ISO-8859-15; format=flowed Reply-To: djgpp AT delorie DOT com This is a port of GNU Gawk 4.1.4 to MSDOS/DJGPP. GNU Gawk is an interpreter for text scanning and processing language named Awk. It is specifically suited for programs that process text files one line at a time, but can also be used for much more complex tasks. DJGPP specific changes. ======================= - This version of the port is only a bug fix version. It fixes the broken awk link. This is a bug introduced with the last port version. - Because the previous version shall be considered brocken, it has been removed from repository and replaced by this one. - This version of the port uses again the DJGPP specific build system distributed by the port. Here some major number of changes have been necessary to adjust the scripts, some C files and makefiles to DJGPP 2.05. - The port has been configured and compiled on WinXP SP3. There is no guarantee that this may be possible with any other DOS-like OS. Due to the use of long file names it will not be possible to configure and compile without LFN support. Here is an extract of the NEWS file showing the user visible changes from the last port (GNU Gawk 4.1.1) to this one: ------------------------------------------------------------------------------- Changes from 4.1.3 to 4.1.4 --------------------------- 1. Updated to GNU autoconf 2.69, automake 1.15, gettext 0.19.7, texinfo 6.1, texinfo.tex 2016-02-05.07, libtool 2.4.6. 2. z/OS support updated. 3. At the beginning of each statement, the debugger now checks and reports watchpoints that have fired before checking for breakpoints. This gives more natural behavior to the user. 4. The "exit" command has been added to the debugger as an alias for "quit". 5. AIX 7.1 should pass the test suite now. Similar for Minix. 6. VMS support has been updated. 7. The profiler / pretty-printer now chains else-if statements instead of causing cascading elses. 8. The return value of system() has been enhanced to convey more information. See the doc. 9. Attempting to write to the "to" end of a two-way pipe that has been closed is now a fatal error. Similarly, so is reading from the "from" end that has been closed. 10. MinGW support has been updated. 11. The -d option now allows -d- to print to standard output. 12. Error messages for --help and in other instances should now get translated correctly. 13. A new environment variable GAWK_LOCALE_DIR may be set to locate the .mo file for gawk itself. 14. The DJGPP port is now officially deprecated. 15. A number of bugs have been fixed. See the ChangeLog. Changes from 4.1.2 to 4.1.3 --------------------------- 1. Regexp parsing with extra brackets should now be working again. There are several new tests to keep this stuff on track. 2. Updated to latest config.guess and config.sub. 3. A (small) number of bugs have been fixed. See the ChangeLog. Changes from 4.1.1 to 4.1.2 --------------------------- 1. The manual has been considerably improved. - Thoroughly reviewed and updated. - Out-of-date examples replaced. - Chapter 15 on MPFR reworked. - Summary sections added to all chapters. - Exercises added in several chapters. - Heavily proof-read and copyedited. 2. The debugger's "restart" command now works again. 3. Redirected getline is now allowed inside BEGINFILE/ENDFILE. 4. A number of bugs have been fixed in the MPFR code. 5. Indirect function calls now work for both built-in and extension functions. 6. Built-in functions are now included in FUNCTAB. 7. POSIX and historical practice require the exclusive use of the English alphabet in identifiers. In non-English locales, it was accidentally possible to use "letters" beside those of the English alphabet. This has been fixed. (isalpha and isalnum are NOT our friends.) If you feel that you must have this misfeature, use `configure --help' to see what option to use when configuring gawk to reenable it. 8. The "where" command has been added to the debugger as an alias for "backtrace". This will make life easier for long-time GDB users. 9. Gawk no longer explicitly checks the current directory after doing a path search of AWKPATH. The default value continues to have "." at the front, so most people should not be affected. If you have your own AWKPATH setting, be sure to put "." in it somewhere. The documentation has been updated and clarified. 10. Infrastructure upgrades: Automake 1.15, Gettext 0.19.4, Libtool 2.4.6, Bison 3.0.4. 11. If a user-defined function has a parameter with the same name as another user-defined function, it is no longer possible to call the second function from inside the first. 12. POSIX requires that the names of function parameters not be the same as any of the special built-in variables and also not conflict with the names of any functions. Gawk has checked for the former since 3.1.7. With --posix, it now also checks for the latter. 13. The test suite should check for necessary locales and skip the tests where it matters if support isn't what it should be. 14. Gawk now expects to be compiled on a system with multibyte character support. Systems without such support, at least at the C language level, are so obsolete as to not be worth supporting anymore. 15. A number of bugs have been fixed. See the ChangeLog. ------------------------------------------------------------------------------- Compiling the sources. ====================== Compile, test and install the binaries produced from the source distribution running the following commands from the top suorce directory: make djgpp cd test make cd .. make install prefix=z:/some/installation/directory If no prefix is specified then /dev/env/DJDIR is used. 8 tests (addcomma, ofmt, ofmtbig, regexprange, regrange, reindops, sigpipe1 and strtod) from the test suite will fail without aborting the test suite. This is expected to happen. The test case: manyfiles may abort the complete test suite. This is because it tries to open 1025 files exhausting the amount of file descriptors that the OS offers. I have reduced the number to 245, so the test should work if you have set the "files" directive in your config.sys or config.nt to around the max. value of 255. For further information about GNU Gawk please read the info docs and NEWS file. The port consists of the usual three packages that have been produced using djdev205 and can be downloaded from ftp.delorie.com and mirrors as (time stamp 2017-06-25): Gawk 4.1.4 binary, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk414br2.zip Gawk 4.1.4 dvi, html and ps format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk414dr2.zip Gawk 4.1.4 source: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk414sr2.zip Send Gawk specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel