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

Bug#4395: -ggdb flag doesn't work with gcc



The -ggdb flag is supposed to give extra debugging info to gdb.  I've
used it on Solaris, and under RedHat Linux.  When I try to use it on
my Debian box, however, I get:

~/test/c> gcc -ggdb hello.c
ld: cannot open -lg: No such file or directory

Using locate, I can't find a "libg.a".  On a RedHat install, this
library is found in "/usr/lib/libg.a".  Thanks for any info on this
problem.

Dale Martin

+----------------------------------------------------------------------------+
| Dale E. Martin - University of Cincinnati Computer Architecture Laboratory | 
| dmartin@thor.ece.uc.edu  |           http://www.ece.uc.edu/~dmartin        | 
+----------------------------------------------------------------------------+



Reply to: