1
This is the README for GNU awk 3.0 under Win32, OS/2, and DOS.
1
This is the README for GNU awk 3.1 under Win32, OS/2, and DOS.
3
3
Gawk has been compiled and tested under OS/2, DOS, and Win32 using
4
4
the GNU development tools from DJ Delorie (DJGPP; DOS with special
5
5
support for long filenames under Win95), Eberhard Mattes (EMX; OS/2,
6
DOS, and Win32 with rsxnt), and Jan-Jaap van der Heijden (Mingw32;
7
Win32). Microsoft Visual C/C++ can be used to build a Win32 version for
8
Windows 9x/NT, and MSC can be used to build 16-bit versions for DOS and
6
DOS, and Win32 with rsxnt), and Jan-Jaap van der Heijden and Mumit Khan
7
(Mingw32; Win32). Microsoft Visual C/C++ can be used to build a Win32
8
version for Windows 9x/NT, and MSC can be used to build 16-bit versions
103
103
contains a djgpp-compiled (32bit) version of gawk, along with many
104
104
djgpp-compiled utilities.
106
The Mingw32 collection at
106
The Mingw32 collection at http://www.mingw.org contains links to ported
107
software. The site by Jan-Jaap van der Heijden
108
109
http://agnes.dida.physik.uni-essen.de/~janjaap/
110
may contain a Win32 version of gawk, along with a Windows help
111
version of the gawk manual.
111
is apparently no longer maintained, but it was accessible as of Jan 2001
112
and may contain files of interest.
114
115
2. The following table illustrates some of the differences among the various
115
116
compiled versions of gawk. For example, the djgpp version runs on all the
116
117
systems, but with differing capabilities: it supports long filenames under
117
Win-95 but not under NT, and it runs as a DPMI application under OS/2 (which
118
Win-9x but not under NT, and it runs as a DPMI application under OS/2 (which
118
119
translates into "works in the DOS-box under OS/2, but not as a true OS/2
121
DOS Win/WfW Win95 NT OS/2
122
DOS Win/WfW Win9x NT OS/2
122
123
-------------------------------------------------------
123
124
djgpp | DPMI DPMI DPMI DPMI,NoLFN DPMI
124
125
emx(1) | N N N N OS2
172
173
may be desired under NT and Win95.
174
175
Users interested in Win32 applications may also wish to examine the
175
Cygnus GNU-Win32 Project at http://www.cygnus.com, or the Mingw32 work
176
at http://agnes.dida.physik.uni-essen.de/~janjaap/. Win32 gawk will
177
often require that utilities run from within gawk be Win32 (e.g., the
178
tests place this requirement on the cat utility).
176
Cygnus cygwin project at http://sources.redhat.com/cygwin/ or the
177
Mingw32 work at http://www.mingw.org. Win32 gawk will often require
178
that utilities run from within gawk be Win32 (e.g., the tests place this
179
requirement on the cat utility).
181
182
3. An sh-like shell may be useful for awk programming (and is essential
201
202
Daisuke Aoyama <jack@st.rim.or.jp> has ported Bash 1.14.7 to djgpp.
202
203
This version worked flawlessly in tests with djgpp gawk and make. bash
203
is now part of the djgpp collection, and may also found on
204
is now part of the djgpp collection; the older port may be found on
205
206
http://www.neongenesis.com/~jack/djgpp-work/beta/index.html
301
302
3. The 16-bit DOS version can exhaust memory on scripts such as Henry
302
303
Spencer's "awf". Use GNU C versions if possible.
304
4. builtin.c of gawk-3.0.[1-3] triggers a bug in MSC 6.00A. The makefile
305
4. builtin.c of gawk-3.0.[1-6] triggers a bug in MSC 6.00A. The makefile
305
306
works around the bug by compiling builtin.c without optimizations (-Od).
306
307
In limited testing, it appears that inserting some dummy code in
307
308
builtin.c can provide a better solution than disabling optimizations.
330
331
problems with pipes; in particular, the pipeio1 test fails.
336
337
The DOS maintainers wish to express their thanks to Eli Zaretskii
337
338
<eliz@is.elta.co.il> for his work and for the many conversations
338
concerning gawk-3.0, make, and djgpp. His FAQ for djgpp is essential
339
concerning gawk, make, and djgpp. His FAQ for djgpp is essential
339
340
reading, and he was always willing to answer our questions (even when
340
341
we didn't read the relevant portions of the FAQ :).
342
We are indebted to Juan Grigera <j-grigera@usa.net> for the
343
We are indebted to Juan Grigera <juan@biophnet.unlp.edu.ar> for the
343
344
Visual C++ target, and for additional help on changes for Win32.
356
357
version using rsxnt (emxnt) should go to Kai Uwe Rommel. Reports on
357
358
the Visual C++ version (vcWin32) may be sent to
359
Juan Grigera, j-grigera@usa.net (Visual C++ version)
360
Juan Grigera, juan@biophnet.unlp.edu.ar (Visual C++ version)
361
362
with a copy to Scott Deifik. Other Win32 reports may go to Darrel