This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gdb works with egcs?
- To: egcs at cygnus dot com
- Subject: gdb works with egcs?
- From: The Red Fox <ben at proximity dot com dot au>
- Date: Mon, 2 Feb 1998 16:27:51 +1100 (EST)
I was wondering if gdb version 4.16 will work fully with object code
produed by egcs.
I have a situation where there is a static library compiled with egcs
using the -g flag. This library is then linked with an executable.
When debugging the executable, the debugger produces 'incomplete type'
for types defined in the library but not for types defined in the object
files that make up the executable itself.
Does ld need any special flags to make this work?
Ta,
Ben
+---------------------------------------------------------+
|\\ + // Ben Ross \\ ^ //|
| \- -/ ben@proximity.com.au \` '/ |
| \|/ http://www.proximity.com.au/~ben/ \~/ |
+---+-------------------------------------------------+---+