Live Chat!

Use gprof to check your codes for performance issues

          0 votos

August 29th, 2007 mysurface

By reading the article Speed your code with the GNU profiler from IBM DevelopWorks, I have gain the knowledge of using gprof to easy my work to identify my module’s performance’s bottleneck. Here, I would like to share my experience on how I discover the clog of my codes.
Let us first look at [...]

Posted in Developer, gcc, gprof | Hits: 18666 | 5 Comments »

debug a currently running program with GDB

* * * *   2 votos

April 9th, 2007 mysurface

Here is a quick tips of GDB. There is a time when I was working on a module that was written in c/c++ hangs in the middle of execution. I have no clue how it happens, and it happens quite rare. I keep guessing and try to feed in more debug print lines to search [...]

Posted in Developer, gcc, gdb | Hits: 10930 | 1 Comment »

compile c and c++ source code

* * * *   1 votos

January 27th, 2007 mysurface

There are plenty of c and c++ compiler under unix based operating system, but the most famous one should be GNU gcc compiler. A well known open source kernel Linux is compiled by gcc as well. This post is to introduces you how you can use gcc to compile c and c++ source code, if [...]

Posted in Developer, g++, gcc | Hits: 22385 | 11 Comments »