[gnu.gcc.bug] gcc on aix/ps2

TRANLE@INTELLICORP.COM (Minh Tran-Le) (11/30/89)

> From: slavin@ringo.cns.vt.edu (Scott J Slavin)
> To: bug-gcc@prep.ai.mit.edu
> Hi,
> 
> I'm in the processes of installing gcc version 1.36 on a
> PS/2 Model 80 running AIX 1.1.  
> 
> It compiles fine using AIX's cc, but when I go and make
> stage1, the gnu compiler gives me something to the effect:
> 
> .stab[77]
> ^_syntax error
> 

The problem is that gcc try to generate DBX debugging info (all the .stab)
but the standard AIX assembler 'as' doesn't know how to assemble them.

The quick fix is to remove the -g in the gcc Makefile.

The bad thing is that aix only provide dbx as a debugger (no sdb nor adb ...)
and it standard cc compiler doesn't use its 'as' assembler to assemble. When
you ask the standard cc to generate a .s file, it first compile to a .o and
then disassemble it to get the .s.

If some dbx/gdb/as gurus know what the .stab really expand to then we could
modify gcc to generate the correct debugging info for the aix dbx debugger.

Thanks,
Minh Tran-Le.

Arpanet: tranle@intellicorp.com
Uucp:   ..sun!icmv!mtranle
-------