gcc options

By Krümel

Use -g to generate debugging information when compiling the source code. This information will be stored in the object file. It describes the type of data of the variables and functions and the correspondence between source line numbers and addresses in the executable code.

I currently start to use the DDD debugger. The manual can be found here.

Leave a Reply