Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Gnu Autoconf, Automake and Libtool 1st Edition
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.
- ISBN-101578701902
- ISBN-13978-1578701902
- Edition1st
- PublisherSams
- Publication dateJanuary 1, 2000
- LanguageEnglish
- Dimensions6 x 0.75 x 9 inches
- Print length432 pages
Editorial Reviews
Amazon.com Review
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.
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.
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.
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. --Richard Dragan
Topics covered:
- Introduction and history of Unix and configuration tools
- The configure tool
- Makefile and dependencies
- GNU autotools used for a simple program
- Porting options and configure.in
- Bootstrapping techniques
- Comprehensive introduction to the GNU libtool utility (building and linking options)
- Using libtool with configure.in andmakefile.am
- A larger GNU autotools project
- Distributing files in tarballs
- Installing and uninstalling packages
- Strategies and tips for writing portable C code with the GNU autotools (including data types, cross-Unix and Unix/Windows portability issues)
- Guide to C++ portability (includes issues with variable scoping, exceptions, template, and the Standard Template Library)
- Dynamic loading and the GNU libltdll tool
- Advanced automake tips
- A complex GNU autotools example (including dynamic linking)
- Introduction to M4 (the underlying language of the autotools)
- Script portability issues for the Bourne shell and its variants
- Cygnus's Cygwin and the GNU autotools
- Cross-compilation techniques
- Reference for installing the GNU autotools
Review
These highly regarded experts in the use of Autoconf have provided information that is both authoritative and up to date. -- Ross Johnson, Software Services Manager, University of Canberra, Australia
This book stands a level above the software packages, giving the expertise of its authors in using this whole system to its fullest. -- David Mackenzie, Principle designer and author of Autoconf
From the Back Cover
About the Author
Ben Elliston works for Cygnus Solutions, one of the leading Open Source software companies. He is the current maintainer of GNU Autoconf. Eleftherios Gkioulekas is a graduate student in the Department of Applied Mathematics in the University of Washington. Elef began writing tutorial documentation for GNU development tools in January 1998 for fun. Ian Lance Taylor has been contributing to free software since 1990. His GNU/Taylor UUCP package was an early beta test for autoconf in 1991. He has contributed many patches to autoconf, including rewriting the support for a separate config.h file. He contributed support for conditionals in automake. He is currently the maintainer of the GNU binutils, which was one of the first widely distributed free software packages to adopt libtool. He worked on free software for many years at Cygnus Solutions, and is a founder of Zembu Labs. Tom Tromey is the current maintainer and a leading authority on automake, authoring much of the online documentation on this tool. Gary Vaughan is one of the current maintainers of libtool. He has contributed patches to autoconf for close to five years, and to automake and libtool since their inceptions. He is currently working on making libtool an Open Source tool for NT developers.
Product details
- Publisher : Sams; 1st edition (January 1, 2000)
- Language : English
- Paperback : 432 pages
- ISBN-10 : 1578701902
- ISBN-13 : 978-1578701902
- Item Weight : 3.53 ounces
- Dimensions : 6 x 0.75 x 9 inches
- Best Sellers Rank: #2,642,790 in Books (See Top 100 in Books)
- #522 in Computer Operating Systems (Books)
- #3,080 in Operating Systems (Books)
- #9,639 in Computer Software (Books)
- Customer Reviews:
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
This book will be very useful if you are a novice in the GNU build system. You can read the book from first to last page, to get the confidence in such a perplexing system. We have read this book with my team mate and it was a great starting point for us. Since that, the book was of little use for us. But it was worth its price.
The authors are obviously very knowledgable and experienced about software. I encourage them to "throw this one away" and try a rewrite from scratch. Short of that, they could provide a road map through their book; first read this chapter, then skip to the second half of that one, etc.
The sad news is that there may not be any good guide to autoconf etc anywhere yet. Like the DNA in your body, all autoconf files are very likely descended by an evolutionary process from a few original viable specimens.
This book "GNU Autoconf, Automake, and Libtool" should come with the above WARNING.
I bought this book expecting some solutions. Zilch!
$30+ in the trash can.
My advice: don't waste your money and time like I did.
The book publisher bears some responsibility for continuing to print this useless book.
I've been waiting for the new John Calcote book to be released. The release date keeps changing.
Cheers!
if you are looking to learn how to use automake and autoconf to manage a small to midsized project, this book is worthless. the authors jump from the basics to esoteric problem cases and back frequently, and there is no help for those who do not already know the system well.
Top reviews from other countries
The emphasis is on how the tools work together and how to solve real world problems using the tools. In that respect this book is really invaluable - the info pages cover each tool rather independently which is not what most users need.
Since that book is not the reference manual it also skips unimportant things and all the pathological cases the info pages are cluttered with. Well - make that "most of the pathological cases" - I never expected nor do I intend to create shared libs on HP-UX (which seems to be a real sick system in this regard), yet this book explains those quirks in great detail. But most of this is to convince the reader about the usefulness of "libtool" and why its handling has to be that inconvenient at times.
The know-how level the author expects from his readers is tough at times: In-depth knowledge about shell programming, compiler and linker invocation etc. sometimes is expected. The author seldom wastes time explaing every little detail of shell commands he enters; rather, he often includes logs of shell sessions and expects the reader to figure out on his own what happens. Depending on the invididual skill level this can be a curse (for newbies) or a blessing (for experienced Linux/Unix developers).
Strangely enough, the author explains how simple makefiles works in one of the few chapters. But that might have been when he decided not to write a 1,500 pages moster book and keep the rest considerably more concise. ;-)
The author (who by the way is the author of "libtool" as well) keeps extending one example project from chapter to chapter. Unfortunately sometimes he gets totally carried away with the details of this project; there are quite some pages that can easily be skipped.
But there are other pure gems in this book: Sections about portable shell programming (when you have a stone age pure Bourne shell rather than a GNU bash), portable usage of Unix/Linux header files (BSD vs. SysV etc.) and even quirks of some kinds of compilers. This may be irelevant to many of us, but most people working on GNU projects which need to run on less featureful variants of Unix will find this useful.
There is also a chapter about M4 macro processor programming that convinced me I'll never do this if I don't absolutely have to (that's because of M4, not of this book), a chapter about CygWin programming (the POSIX API on Win32 systems) and cross compiling using the autotools.
Bottom line:
It's a very useful book, but it's just a starting point that will point you in the right direction - and where to find more information. It's well worth its money and the time for reading it, but it will (and cannot) be enough to fully understand all the details. But since it is currently the only book on the subject, it is also automatically the best one. ;-)
その問題を避けるためにシステムごとの差異を吸収するconfigureスクリプトを生成するAutoconfとその派生ツールはつくられました。
この本は、Autoconfの使い方を通して、移植性の高いソフトウェアを書く指針も示しています。
オープンソースのUnix系プログラマは必読です。
この手の和書(洋書)は、ほぼ世の中に存在せず、各種調査の際、いくら時代おくれで古くても、
どうしても入手し、調査する必要があります。
あと、こういったツールの著者(元著者)はたいていライティングを知らず、自分の知っているすべての知識を
おとぎ話を語るのと同じ手法で綴るので、ものすごくいらいらするほど読みにくいです。
ですが、現行のGNUの解説も相変わらずに同様に読みにくく、和書も存在しないので、参考としては
役に立ちました(結局、自分自身用のプライベート簡易仕様書を書いている最中ですが)。
付録Cの依存関係のグラフが一番役に立ちました。買う価値はこれだけでしょう。

