Next: , Previous: , Up: Compiling and Installing gawk on Unix-Like Systems   [Contents][Index]

B.2.3 Additional Configuration Options

There are several additional options you may use on the configure command line when compiling gawk from scratch, including:


Disable the extension mechanism within gawk. With this option, it is not possible to use dynamic extensions. This also disables configuring and building the sample extensions in the extension directory.

This option may be useful for cross-compiling. The default action is to dynamically check if the extensions can be configured and compiled.


Disable all lint checking within gawk. The --lint and --lint-old options (see Command-Line Options) are accepted, but silently do nothing. Similarly, setting the LINT variable (see Built-in Variables That Control awk) has no effect on the running awk program.

When used with the GNU Compiler Collection’s (GCC’s) automatic dead-code-elimination, this option cuts almost 23K bytes off the size of the gawk executable on GNU/Linux x86_64 systems. Results on other systems and with other compilers are likely to vary. Using this option may bring you some slight performance improvement.

CAUTION: Using this option will cause some of the tests in the test suite to fail. This option may be removed at a later date.


Skip checking for the MPFR and GMP libraries. This is useful mainly for the developers, to make sure nothing breaks if MPFR support is not available.


Disable all message-translation facilities. This is usually not desirable, but it may bring you some slight performance improvement.


Use a versioned directory for extensions. The directory name will include the major and minor API versions in it. This makes it possible to keep extensions for different API versions on the same system without their conflicting with one another.

Use the command ‘./configure --help’ to see the full list of options supplied by configure.

Next: The Configuration Process, Previous: Shell Startup Files, Up: Compiling and Installing gawk on Unix-Like Systems   [Contents][Index]