This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Using the -g flag but gdb still sais: no debugging symbols found
- From: Gary <plap1234 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 6 Dec 2007 17:48:52 -0800 (PST)
- Subject: Re: Using the -g flag but gdb still sais: no debugging symbols found
--- Brian Dessent <brian@dessent.net> wrote:
>
> -Wl,-s tells gcc to pass -s to the linker, and -s
> means strip the
> executable. So all the debug information you just
> generated is
> discarded. Also, -g when linking doesn't do
> anything, so you should
> remove that too.
>
> Brian
>
Worked
Thanks
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs