Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gcc command and debug in linux.

Status
Not open for further replies.

thomdinh

Programmer
Joined
Jun 29, 2003
Messages
1
Location
AU
Hi,
Would anyone help me how to run gcc with debug please?
ex: gcc -o hello hello.c (that's normal isn't it?), but if I want to debug the source program I wrote, I don't know?
email: thom.dinh@defence.gov.au if you can drop me few line.
Thanks very much.


Regards.
Thom Dinh
 
gcc -d <the remaining options> file-name(S)

then exec. d executable in d debugger...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top