Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Porting UNIX software
Lehey G., O’Reilly & Associates, Inc., Sebastopol, CA, 1995. Type: Book (9781565921269)
Date Reviewed: Aug 1 1996

As someone who has ported half a dozen applications across half a dozen UNIX platforms, I looked forward to reading this book. It contains much useful information for beginning systems administrators and UNIX programmers. Like most O’Reilly books it is well prepared and light in touch, and reeks of experience, not theory. This book is about the dark side of the source.

The first part of the book describes the steps in finding and installing new UNIX software. This is a thorough, complete, and accurate guide to what can happen and what you need to do about it. It starts with why you use other people’s code. It briefly describes the tools used to download and unpack software: ftp, tar, cpio, ar, shar, compressed files, and uuencoded files. It shows how to tell them apart and what to do with them. It describes the various goodies you expect to get: README, INSTALL, Makefile, and so on. It describes how to set up directories of source code; how to configure a package; and how to build, compile, and test it. It finishes with tasks that are important but easily forgotten: installing documentation, and saving and reporting any modifications you make.

The second part attempts to list all the variations between different UNIX flavors. For each discrepancy, it recommends a way to fix it. This takes 260 detailed pages. The book contains much practical wisdom. It does not mention the problems I have suffered, and few of the problems mentioned have happened to me. This discrepancy may be because the systems mentioned on page xv are mainly Intel-based. I work with Sun, Silicon Graphics, IBM AIX, and Data General DG/UX systems. I assume that the book is better for the systems that are listed: SCO Xenix, Interactive UNIX, Consensys, BSD/OS, FreeBSD, SunOS, and IRIX 5.3.

There are five appendices. These compare data types and options for compilers, assemblers, and loaders. The book also has a list of places to get sources.

This book does not tell you how to write portable C programs for UNIX. It is not a textbook. It is a tutorial and reference work for people who, for the first time, need to get a UNIX program and make it run on their systems. The book assumes that they are already familiar with the C programming language and its libraries. It will make sure that they do not get lost in the process. As the book states, though, it cannot describe all the problems that could possibly arise or show how to fix them. Those managing UNIX systems should at least scan the first part of this book and then keep it on their shelves.

Reviewer:  Richard Botting Review #: CR119894 (9608-0552)
Bookmark and Share
  Featured Reviewer  
 
Portability (D.2.7 ... )
 
 
Life Cycle (D.2.9 ... )
 
 
Unix (D.4.0 ... )
 
 
Systems Programs And Utilities (D.4.9 )
 
Would you recommend this review?
yes
no
Other reviews under "Portability": Date
Software portability and standards
Dahlstrand I., John Wiley & Sons, Inc., New York, NY, 1984. Type: Book (9789780470200834)
Feb 1 1985
The viewport technician: a guide to portable software design
Bentley M., Scott, Foresman & Co., Glenview, IL, 1988. Type: Book (9789780673183835)
Mar 1 1989
On squeezing the UNIX quart into a data general eclipse pint pot
Cooper R. Software--Practice & Experience 15(6): 571-581, 1985. Type: Article
Apr 1 1986
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy