Unreviewed gcc/Makefile.in patch

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Sat Feb 21 13:45:00 GMT 2004


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



More information about the Gcc-patches mailing list