Mail Archives: djgpp/2005/03/24/08:10:11
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
Message-Id: | <200503241306.j2OD6YWp019887@delorie.com>
|
Date: | Thu, 24 Mar 2005 13:43:36 +0100
|
From: | Juan Manuel Guerrero <juan DOT guerrero AT igd DOT fhg DOT de>
|
X-Accept-Language: | de-at, de, en-us, en
|
To: | djgpp-announce AT delorie DOT com
|
Subject: | ANNOUNCE: DJGPP port of GNU Gawk 3.1.4 uploaded
|
X-Virus-Scanned: | by amavisd-new at mailgate2.igd.fraunhofer.de
|
This is a port of GNU Gawk 3.1.4 to MSDOS/DJGPP.
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.
=======================
- djdev203 and djdev204 specific:
The configure script checks for the existance of the passwd
structure but
it does not check neither for the struct element: pw_gecos nor for the
element: pw_passwd. Both are mised in djdev203 making the build of the
binaries: grcat.c and prcat.c fail if the source is configured and
compiled with djdev203. djdev204 has both missed struct elements so the
build of both programs will not fail.
To fix this issue the generated config.h file will contain code that
will
check for djdev203 (brocken passwd struct) or djdev204 (working passwd)
and enaibling or disabling the access to the missing struct elements in
grcat.c and prcat.c accordingly.
As usual, the diffs file stored in /djgpp dir documents the changes from
the FSF distribution.
Please note that the distributed binaries have been build with djdev203.
- djdev204 specific:
The source package contains a copy of the new popen.c file from the cvs
source tree of djdev204 (2004-12-08). A special configure batch file has
been added that will automatically compile this file and replace the
brocken popen.o and pclose.o implementations from djdev204. This applies
only if the sources are configured for djdev204 instead of djdev203.
Binaries compiled with djdev203 do not need this change because their
popen()/pclose() implementation is not brocken.
Compiling the sources.
======================
Configuration, compilation and running the testsuite has been done on
win98se
My winxp is brocken so no configuartion, compilation and testing at
all for
that OS this time. With other words, the build and the running of the
testsuite may or may not work. This must be tested by the interrested
parties.
- If you compile the sources with djdev203, you must proceed as usual
running
the following commands from the top srcdir, this is gawk-3.1-4:
make
make check
make install
6 tests from the testsuite will fail. The failure of the space-test may
be savely ignored. The reason for the reported failure is the text
difference in distributed space.ok and the gawk produced _space file.
This kind of files contain the error output generated by gawk. This
output is different if gawk is compiled with posix/linux libc or the
djgpp libc. The other failures may be generated due to not supported
posix features by djgpp. But this needs further investigation.
- If you compile the sources with djdev204 it will be essential to
reconfigure
sources because the distributed one have been configured for
djdev203. For
this purpose you **must** delete the cache file djgpp/config.cache
or you
will get a broken binary.
Due to the actually broken popen() from beta djdev204 the configuration
batch file (xp-config.bat) will modify the /lib/Makefile in such a way
that the distributed popen.c file is compiled into the libsed.a and
linked
instead of the broken implementations of the beta djdev204 libc.
In conclusion, to rebuild the sed binary with djdev204 to get a binary
usefull for WinXP run the following commands from the top srcdir
(gawk-3.1-4):
rm djgpp/config.cache
djgpp\xp-config.bat
make
make check
make install
Please note that the removing of the cache file is essential. It should
also be noticed that xp-config.bat shall be used to configure the
sources
or the /lib/Makefile will not be modified in the correct way producing a
broken binary.
No test of the testsuite shall fail.
Please do **not** report anything to <bug-gawk AT gnu DOT org>, if there are
problems with this port there are probably djdev203/204 originated
and must
be discussed and solved here.
As usual, all djgpp specific files (config.bat, diffs, readme files,
etc.)
are located in the /djgpp subdir.
The port consists of the usual three packages that can be downloaded from
ftp.delorie.com and mirrors as (timestamp 2005-03-21):
Gawk 3.1.4 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk314b.zip
Gawk 3.1.4 dvi, html and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk314d.zip
Gawk 3.1.4 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk314s.zip
Send Sed specific bug reports to <bug-gnu-utils 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 igd DOT fhg DOT de>
- Raw text -