Re: how to debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use -g while compilation with gcc and use gdb. Assuming u r working in linux.
./tss

--- mla <wyl_lyf@xxxxxxxxx> wrote:
>Hello all! Do you guys know how I could debug a
>successful compilation? I have a program that I
>compile in different platforms. The program works and
>there are no bugs on it. And gcc/g++ finishes
>compiling the program without errors. but when I run
>the program it generates some error. is there a way to
>find out which flags should I add to the compiling
>process for the program to work? thanks! 
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com

_____________________________________________________________
Powered by a short email address ... http://www.k.st


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux