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 Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.