Using gcc compiler in linux

Write here if you have problems with your C++ source code

Moderator: Board moderators

Post Reply
User avatar
ibrahim
Experienced poster
Posts: 149
Joined: Mon Feb 07, 2005 10:28 pm
Location: Northern University, Bangladesh
Contact:

Using gcc compiler in linux

Post by ibrahim » Mon Feb 21, 2005 6:24 pm

I am very much new in gcc. I can only run or compile a code of C++. But i don't know how to debug. Will you please help me. :D

User avatar
Krzysztof Duleba
Guru
Posts: 584
Joined: Thu Jun 19, 2003 3:48 am
Location: Sanok, Poland
Contact:

Post by Krzysztof Duleba » Mon Feb 21, 2005 6:45 pm

Google returns a bunch of hits for "gcc debugger".

Try gdb, insight or ddd. If you have more specific questions, read the documentation, google for it or go to a proper website/newsgroup/mailing list.

User avatar
ibrahim
Experienced poster
Posts: 149
Joined: Mon Feb 07, 2005 10:28 pm
Location: Northern University, Bangladesh
Contact:

Post by ibrahim » Mon Feb 21, 2005 7:24 pm

Thanks Krzysztof Duleba. i know very little about gdb. If you have time, Please give me some basic command for gdb.
:D

User avatar
Krzysztof Duleba
Guru
Posts: 584
Joined: Thu Jun 19, 2003 3:48 am
Location: Sanok, Poland
Contact:

Post by Krzysztof Duleba » Mon Feb 21, 2005 9:22 pm

You need a gdb tutorial. Google it the fastest way to find one.

Post Reply

Return to “C++”