LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   GCC, GDB GUIs (https://www.linuxquestions.org/questions/programming-9/gcc-gdb-guis-128973/)

Geeky_Kid 12-26-2003 01:39 AM

GCC, GDB GUIs
 
Hi,

(1) Which is the user-friendli-est front-end to gcc and gdb?

(2) If I want to give a debugger with my application, then:

(a) is it possible?
(b) how can this be done?

llama_meme 12-26-2003 05:22 AM

In answer to (1), probably KDevelop or Ajunta. I'm not quite sure what you mean by (2), can you explain in more detail?

Alex

nibbler 12-27-2003 01:52 AM

your second part is a bit confusing. If you ment to debug C++ program, you add -ggdb to compiler options:
g++ -ggdb MyProg.C
Then you run GDB the output file:
gdb a.out.

Geeky_Kid 12-27-2003 01:19 PM

Actually it might sound stupid now, but my second options was this -- if I develop an "application" and that application runs into some errors, instead of simply printing out the error, I want to give the user the option to view the particular segment of code and modify it accordingly :-) After all this is the benfit of open-source :-D

Science fiction, huh.

nibbler 12-28-2003 03:42 AM

then distribute programs with source, and compile with -g and/or -ggdb.


All times are GMT -5. The time now is 05:21 AM.