Book,

GNU Autoconf, Automake and Libtool

.
New Riders, (Oct 6, 2000)

Abstract

The success of öpen-source" software is dependent on programmers around the world being able to develop software that runs on many flavors of Unix and Linux. The GNU <I>autoconf</I>, <I>automake</I>, and <I>libtool</I> äutotools" are powerful tools that simplify writing software on different platforms. <I>GNU Autoconf, Automake, and Libtool</I> is a technically adept and expert guide to using these utilities effectively. Any C/C++ or script programmer who writes software under Unix/Linux will want to have a copy of this book to make better use of these powerful and sometimes obscurely documented tools.<p> This text is filled with the nuts-and-bolts details of running these three utilities, including command-line switches and the actual, generated files that automate the build process and help programmers port code between different environments. As such, this title will be appreciated by those at their workstations who want a hands-on guide to using the autotools.<p> There's a danger of missing the forest for the trees here, with all of this necessary detail, but the middle sections of this book pull back a little with several useful chapters on the bigger picture of code "portability." Chapters on both C and C++ portability explore language features that likely will cause trouble when code is moved between different versions of Unix (or even between Unix and Windows). A similar section also discusses the issues when developing portable shell scripts.<p> Readers will appreciate also sections that are devoted to actual source code that's built with the autotools. Starting out simply, the authors also provide examples of more complex source-code modules (including projects that make use of dynamic loading and cross-platform builds). The genius of the autotools utilities is certainly in the details of command-line switches, and the expert tips that are offered here. But it's good also to get a perspective on why you use these tools, and what they do for the working Unix developer.<p> By covering both the nitty-gritty and the higher level issues of "portability" in a broader sense, this title succeeds as both a hands-on reference and as a guide to understanding how to write more portable code generally. It'll be a virtual must-have for any serious Unix C/C++ programmer. Although it's not a book you necessarily read from cover to cover, it's chock-full of useful advice that can save considerable time for anyone who writes software for Unix and Linux. <I>--Richard Dragan</I><p> <B>Topics covered:</B> <table cellspacing="7" border="0"><ul><ol><tr><td><li>Introduction and history of Unix and configuration tools <li>The <I>configure</I> tool <li>Makefile and dependencies <li>GNU autotools used for a simple program <li>Porting options and <I>configure.in</I> <li>Bootstrapping techniques <li>Comprehensive introduction to the GNU <I>libtool</I> utility (building and linking options) <li>Using <I>libtool</I> with <I>configure.in</I> and<I>makefile.am</I> <li>A larger GNU autotools project <li>Distributing files in tarballs <li>Installing and uninstalling packages <li>Strategies and tips for writing portable C code with the GNU autotools (including data types, cross-Unix and Unix/Windows portability issues) <li>Guide to C++ portability (includes issues with variable scoping, exceptions, template, and the Standard Template Library) <li>Dynamic loading and the GNU <I>libltdll</I> tool <li>Advanced <I>automake</I> tips <li>A complex GNU autotools example (including dynamic linking) <li>Introduction to M4 (the underlying language of the autotools) <li>Script portability issues for the Bourne shell and its variants <li>Cygnus's Cygwin and the GNU autotools <li>Cross-compilation techniques <li>Reference for installing the GNU autotools</ol></ul></table> <HTML>If you are a developer and are looking to participate in the Open Source development growth area you will need to learn new Open Source tools. GNU autoconf, GNU automake and GNU libtool are key tools for Open Source application development. These tools are not easy to learn, so some of the leading authorities on these tools have agreed to work together on this book to teach developers how to boost their productivity and the portability of their application. This book place New Riders/MTP at the center of the Open Source development community. Autoconf, Automake and Libtool is an efficient discourse on the use of autoconf, automake and libtool aimed at reducing the steep learning curve normally associated with these tools. This is a study guide to the interactions between the tools, and how best to get them to cooperate. If you are a developer and have no GNU build environment expertise, this book will help you develop these tools completely and confidently.</HTML>

Tags

Users

  • @gdmcbain

Comments and Reviews