gawk for Unix
After you have extracted the gawk distribution, cd
to `gawk-3.0.3'. Like most GNU software,
gawk is configured
automatically for your Unix system by running the configure program.
This program is a Bourne shell script that was generated automatically using
GNU autoconf.
(The autoconf software is
described fully in
Autoconf--Generating Automatic Configuration Scripts,
which is available from the Free Software Foundation.)
To configure gawk, simply run configure:
sh ./configure
This produces a `Makefile' and `config.h' tailored to your system.
The `config.h' file describes various facts about your system.
You may wish to edit the `Makefile' to
change the CFLAGS variable, which controls
the command line options that are passed to the C compiler (such as
optimization levels, or compiling for debugging).
Alternatively, you can add your own values for most make
variables, such as CC and CFLAGS, on the command line when
running configure:
CC=cc CFLAGS=-g sh ./configure
See the file `INSTALL' in the gawk distribution for
all the details.
After you have run configure, and possibly edited the `Makefile',
type:
make
and shortly thereafter, you should have an executable version of gawk.
That's all there is to it!
(If these steps do not work, please send in a bug report;
see section Reporting Problems and Bugs.)
Go to the first, previous, next, last section, table of contents.