Seminar: how to compile, link and debug our C applications on linux

Today, Jose María Cañas and Julio Vega have given a talk about how to compile, link and debug C/C++ applications over Linux platform.
Maybe sometimes there are many problems about how to compile our applications with gcc (GNU C Compiler) or link them with dynamic libraries and how to check the correct linked. Moreover, we usually prefer to include all this process in a simple makefile. So they’ve explained how to build a makefile.
On the other hand, when we have perfectly build our application or executable, we want to know why our application doesn’t work fine… so we need to debug it. They’ve talked about two important tools: gdb (GNU Debugger) and valgrind. Gdb in order to check the internal structure of the program and valgrind, specially indicated to help us to check dynamic memory use.

You can download the PDF slides and also you can see or download full recorded speech on .avi video here.

Uncategorized 1 Comment

Written by: