Re: Using the -g flag but gdb still sais: no debugging symbols found

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

 



--- Brian Dessent <brian@xxxxxxxxxxx> 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

[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