This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to debug


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

--- mla <wyl_lyf@yahoo.com> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]