Mail Archives: djgpp-announce/2014/04/27/16:28:58
This is a port of GNU Gawk 4.1.1 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.
=======================
- Add CVS version of popen.c to avoid that gawk is linked to the broken
one from djdev204 (beta 1).
- Minor DJGPP specific issues concerning the way the sources are compiled
documented in the diffs file located in the pc directory.
- The test suite will only work if LFN support is available. This is due
to the great amount of long file names that can not match on unique
short file names clashes. I have no intention to solve these file name
conflicts. Please note that the package can always be compiled and
installed on SFN systems. Only the test suite will not work.
- The DJGPP port does not support the building of DLLs. DLLs are not
supported by DOS nor by DJGPP by the moment.
- The DJGPP port build with djdev204 supports the use of the MPFR library.
Here is an extract of the NEWS file showing the user visible changes from
the last port (GNU Gawk 4.1.0) to this one:
Changes from 4.1.0 to 4.1.1
---------------------------
1. The "stat" extension now includes a "devbsize" element which indicates
the units for the "nblocks" element.
2. The extension facility now works on MinGW. Many of the extensions can be
built and used directly.
3. A number of bugs in the pretty-printing / profiling code have been fixed.
4. Sockets and two-way pipes now work under MinGW.
5. The debugger now lists source code correctly under Cygwin.
6. Configuration and building with the Mac OS X libreadline should work now.
7. The -O option now works again.
8. The --include option, documented since 4.0, now actually works.
9. Infrastructure updated to automake 1.13.4, bison 3.0.2, and
libtool 2.4.2.418.
10. The configure script now accepts a --disable-extensions option,
which disables checking for and building the extensions.
11. The VMS port has been considerably improved. In particular config.h
is now generated by a DCL script. Also, the extension facility works
and several of the extensions can be built and used. Currently, the
extension facility only works on Alpha and Itanium.
12. The API now provides functions pointers for malloc(), calloc(),
realloc() and free(), to insure that the same memory allocation
functions are always used. This bumps the minor version by one.
13. The printf quote flag now works correctly in locales with a different
decimal point character but without a thousands separator character.
If the thousands separator is a string, it will be correctly added
to decimal numbers.
14. The readfile extension now has an input parser that will read whole
files as a single record.
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 srcdir, this is gawk-4.1-1:
make djgpp
or
make djgpp-mpfr
cd test
make
cd ..
make install
7 tests 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 some reason I still did not figure out the MPFR test did not work if the
mpfr-tests target is called. But if the individual tests are called one by
one they all pass flawlessly.
For further information about GNU Gawk please read the info docs and NEWS file.
The port has been compiled using stock djdev203 (patchlevel 2) and consists
of the usual three packages that can be downloaded from ftp.delorie.com and
mirrors as (time stamp 2014-04-27):
Gawk 4.1.1 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk411b.zip
Gawk 4.1.1 dvi, html and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk411d.zip
Gawk 4.1.1 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk411s.zip
The binaries have been produced a second time using the stock version of
djdev204 beta library. This package is available at ftp.delorie.com and
mirrors as (time stamp 2014-04-27):
Gawk 4.1.1 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gwk411b.zip
Send Gawk specific bug reports to <bug-gawk AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -