Hints About Compiling and Debugging C Programs

Randall J. Fisher rfisher@ecn.purdue.edu

Disclaimer

Forward

The purpose of this document is to try to pass along some of my experience with compiling and debugging to help shorten the time you spend developing code. It is also intended to cut down on the amount of direct assistance that you need to finish your projects by providing you with some basic guidance. This document will continue to be updated as I (re)discover warnings and errors and their causes. Finally, this document is currently directed at gcc and similar compilers. This isn't clear from the title, so I apologize if this is not what you are looking for.

Table of Contents

  1. Some practices that can help save effort.
  2. Common compile-time gcc errors and warnings and their possible causes.
  3. Common run-time gcc errors and warnings and their possible causes.

Bibliography



This page was last modified .