REVIEW - An Introduction to GCC - For the GNU Compilers Gcc and G++


Title:

An Introduction to GCC

For the GNU Compilers Gcc and G++

Author:

Brian Gough, Richard M. Stallman

ISBN:

Publisher:

Network Theory. (2004)

Pages:

137pp

Reviewer:

Ian Bruntlett

Reviewed:

January 2009

Rating:

★★☆☆☆


This book is a good introduction to GNU C/C++ let down by three serious omissions: a) it does not show you how to use gdb to debug programs; b) it overlooks make , a critical tool for non-trivial applications; c) it omits to mention the -Weffc++ compiler option that warns about violations of the style guidelines from Scott Meyer's Effective C++ book.

On the other hand, it does provide information about useful system utilities:

  • l file - list details about an executable;
  • l nm - list an executable/object file's symbol table / name table;
  • l ldd - list an executable/object file's dynamically linked libraries;
  • l gcov - GNU coverage testing tool; and
  • l gprof - GNU profiler

Verdict: Print a copy for yourself - I would not buy it until the next edition appears hopefully covering the omitted topics. (GNU Free documentation downloadable from

www.network-theory.co.uk/gcc/intro
.)

Book cover image courtesy of Open Library.





Your Privacy

By clicking "Accept All Cookies" you agree ACCU can store cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

By clicking "Share IP Address" you agree ACCU can forward your IP address to third-party sites to enhance the information presented on the site, and that these sites may store cookies on your device.