This is the mail archive of the gcc@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]

Re: -g broken for DWARF2 on x86 platforms


>>>>> J Kean Johnston <jkj@sco.com> writes:

> Compiling C++ stuff with -g is broken on any platform with uses (or can
> use) DWARF or DWARF2.  Both on SCO and Linux dwarf2 -g causes unknown
> symbols (for example .L_T6310) to be output.

-gdwarf2 produces DWARF 1 output (debug level 2).
-gdwarf-2 produces DWARF 2 output.
The undefined symbol bug appears only to affect dwarf 1.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]