21.07.2015 Views

GAWK: Effective AWK Programming

GAWK: Effective AWK Programming

GAWK: Effective AWK Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B: Installing gawk 269B.2.2 Additional Configuration OptionsThere are several additional options you may use on the configure command line whencompiling gawk from scratch, including:--enable-portalsTreat pathnames that begin with ‘/p’ as BSD portal files when doing two-wayI/O with the ‘|&’ operator (see Section 10.4 [Using gawk with BSD Portals],page 173).--enable-switchEnable the recognition and execution of C-style switch statements in awk programs(see Section 6.4.5 [The switch Statement], page 105.)--with-whiny-user-strftimeForce use of the included version of the strftime function for deficient systems--disable-lintThis option disables all lint checking within gawk. The ‘--lint’ and‘--lint-old’ options (see Section 11.2 [Command-Line Options], page 177)are accepted, but silently do nothing. Similarly, setting the LINT variable (seeSection 6.5.1 [Built-in Variables That Control awk], page 110) has no effect onthe running awk program.When used with GCC’s automatic dead-code-elimination, this option cuts almost200K bytes off the size of the gawk executable on GNU/Linux x86 systems.Results on other systems and with other compilers are likely to vary. Using thisoption may bring you some slight performance improvement.Using this option will cause some of the tests in the test suite to fail. Thisoption may be removed at a later date.--disable-nlsDisable all message-translation facilities. This is usually not desirable, but itmay bring you some slight performance improvement.--disable-directories-fatalCauses gawk to silently skip directories named on the command line.As of version 3.1.5, the ‘--with-included-gettext’ configuration option is no longeravailable, since gawk expects the GNU gettext library to be installed as an external library.As of version 3.1.8, the ‘--disable-libsigsegv’ configuration option is no longer available,since gawk expects the GNU libsigsegv library to be installed as an external library.B.2.3 The Configuration ProcessThis section is of interest only if you know something about using the C language and theUnix operating system.The source code for gawk generally attempts to adhere to formal standards whereverpossible. This means that gawk uses library routines that are specified by the ISO Cstandard and by the POSIX operating system interface standard. When using an ISO Ccompiler, function prototypes are used to help improve the compile-time checking.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!