This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Unreviewed gcc/Makefile.in patch


DJ Delorie writes:

> Although it seems broken that something as common as -g should fail to
> work on a platform.

Agreed, although we're in the same situation on Tru64 UNIX where GNU as
doesn't work (unlike IRIX 5/6) and there's no proper way to get debugging
info through the native assembler into object files.  In both cases, the
native compilers emit object code directly, and there are no directives to
achive this via the assembler.  In the Tru64 UNIX case, we revert to
mips-tfile to rewrite the object file, emitting stabs-in-ECOFF on the way.
One might do the same on IRIX with stabs-in-ELF, but since all other ABIs
(N32/N64) use DWARF-2 anyway, and stabs support in gdb is bitrotting, I
don't think there's much to gain from this effort.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


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