Next: , Previous: PC Using, Up: PC Installation


B.3.1.5 Using gawk In The Cygwin Environment

gawk can be built and used “out of the box” under MS-Windows if you are using the Cygwin environment. This environment provides an excellent simulation of Unix, using the GNU tools, such as Bash, the GNU Compiler Collection (GCC), GNU Make, and other GNU programs. Compilation and installation for Cygwin is the same as for a Unix system:

     tar -xvpzf gawk-4.1.0.tar.gz
     cd gawk-4.1.0
     ./configure
     make

When compared to GNU/Linux on the same system, the ‘configure’ step on Cygwin takes considerably longer. However, it does finish, and then the ‘make’ proceeds as usual.

NOTE: The ‘|&’ operator and TCP/IP networking (see TCP/IP Networking) are fully supported in the Cygwin environment. This is not true for any other environment on MS-Windows.