home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
gawk-2.15.6-src.tgz
/
tar.out
/
fsf
/
gawk
/
README.pc
< prev
next >
Wrap
Text File
|
1996-09-28
|
4KB
|
120 lines
This is the README for GNU awk 2.15 under OS/2 and MS-DOS.
Gawk has been compiled and tested under OS/2 1.x--2.x and MS-DOS
using MSC 5.1, MSC 6.00A, and EMX/gcc 0.8[gh].
Compiling for DOS from a DOS (or OS/2) host
-------------------------------------------
Move the stuff in the pc directory to the directory with the rest
of the gawk sources. The files Makefile.emx (for EMX/gcc) and
Makefile.msc (for MSC 5.1 or 6.00A) should work with any Unix-like
make, including Ndmake 4.5 and dmake.
An alternative makegawk.bat file exists for compiling with MSC 5.1
or 6.00A. You may need to put CRs at the end of each line in the
makegawk.bat, Makefile.emx, and Makefile.msc files.
If using MSC 5.1, you will also have to copy the Microsoft library
routine setargv.obj to the gawk directory for the link to work.
Please note: Gawk is very sensitive to compiler optimization;
using -Oa or -Ox with MSC 5.1 WILL cause errors. It is recommended
to only use the default optimization. Also, you should get warning
messages with MSC, but you can ignore them.
Additional information can be found in the notes at the end of
this file.
Compiling for OS/2 or DOS from an OS/2 host
-------------------------------------------
Move the files in the pc directory to the directory with the rest
of the gawk sources. Makefile.os2 has been tested with dmake 3.8
and GNU make 3.68. Enter "make -f Makefile.os2" to see a list of
targets. As an example, an OS/2 and DOS 32-bit executable using
EMX/gcc can be created with the command "make -f Makefile.os2 emxbnd".
If using MSC 5.1, you will also have to copy the Microsoft library
routine setargv.obj to the gawk directory for the link to work.
Notes
-----
1. The usual shells for OS/2 and DOS (command.com for DOS and cmd.exe
for OS/2) do not handle command-lines very well. Stewartson's sh (OS/2
and DOS) is a good choice, and can be found at:
oak.oakland.edu:SimTel/msdos/sysutil/ms_sh23[bs].zip
ftp-os2.cdrom.com:pub/os2/16bit/unix/ms_sh23[bs].zip
ftp.leo.org:pub/comp/os/os2/shells/ms_sh23b.zip
An earlier version can be found at
ftp.leo.org:pub/comp/os/os2/shells/sh164-2.zip
The Korn shell (ksh) may be another possibility:
ftp-os2.cdrom.com:pub/os2/32bit/unix/ksh49.zip
ftp.leo.org:pub/comp/os/os2/shells/ksh513rt.zip
Bash (OS/2 2.x) should be a good choice; however, there has been some
trouble getting a solid version for OS/2. As of Feb-95, there are two
bash ports, available in:
ftp.leo.org:pub/comp/os/os2/shells/gnu/gnubash.zip
ftp.leo.org:pub/comp/os/os2/shells/gnu/bash-112.zip
ftp-os2.cdrom.com:pub/os2/32bit/unix/bash_112.zip
Hamilton's C Shell is another possibility, available for a number of
platforms. A demo is available at ftp.leo.org.
The site ftp.leo.org (ftp.informatik.tu-muenchen.de) is maintained
by Kai Uwe Rommel (rommel@leo.org), and is also accessible at
http://www.leo.org/archiv/os2/ via WWW.
2. Stewartson's shell contains sources for a setargv-replacement
for MSC, which can add enhanced command-line processing capabilities
to gawk. See Makefile.os2.
3. dmake is by Dennis Vadura (dvadura@watdragon.uwaterloo.ca), CS Dept.,
University of Waterloo. OS/2 and DOS versions can be found at
ftp.leo.org:pub/comp/os/os2/devtools/utils/dmake38.zip
ftp.leo.org:pub/comp/os/os2/devtools/utils/dmake40os2.zip
ftp-os2.cdrom.com:pub/os2/16bit/program/dmake38x.zip
Ndmake is by D.G. Kneller. This ShareWare program was later released
as Opus Make (which is available for OS/2 and DOS). Ndmake 4.5 is
available at
oak.oakland.edu:SimTel/msdos/c/ndmake45.zip
GNU make is from the FSF. An OS/2 2.x version can be found at
ftp.leo.org:pub/comp/os/os2/devtools/gnu/gnumake.zip
4. Known bugs. The MSC 5.1 bound version has not received extensive
testing. When running under OS/2 2.1, there is a bug which may be
related to the 20-file limit. It can be observed in the "manyfiles"
test of test/Makefile. This does not occur when running under DOS.
The 16-bit DOS version can exhaust memory on scripts such as Henry
Spencer's "awf". Use the 32-bit version if possible.
----
If you have any problems with the DOS or OS/2 versions of Gawk,
please send them to
Scott Deifik, scottd@amgen.com (DOS versions)
or
Kai Uwe Rommel, rommel@ars.muc.de (OS/2 or bound versions)
Darrel Hankerson, hankedr@mail.auburn.edu