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

8:50 pm Uncategorized

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.

One Response
  1. Mike :

    Date: May 23, 2009 @ 10:43 pm

    Hi, nice posts there :-) thank’s for the interesting information

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.