compiling gcc 2.8.1 on hpux 10.20

Brandon Metcalf bmetcalf@nortelnetworks.com
Thu Nov 18 13:47:00 GMT 1999


I'm having a couple of problems compiling gcc 2.8.1 on hpux 10.20.
Since -g isn't supported unless I use gas, I configured with
--with-gnu-as and made sure gas is the one found when typing as:

baycat objdir $ whence as
/nms/tools/bin/HP-UX/as
baycat objdir $ as -v
GNU assembler version 2.9.1 (hppa1.1-hp-hpux10.20), using BFD version
2.9.1
baycat objdir $


However, when compiling gcc, I get the following:

echo "__foo () {}" > dummy.c
./xgcc -B./  -DIN_GCC    -g -I./include  -c dummy.c
as: "/var/tmp/cca18394.s", line 10: error 1052: Directive name not
recognized - FILE
as: "/var/tmp/cca18394.s", line 12: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 13: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 18: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 19: error 1052: Directive name not
recognized - STABS

Does anyone know what the problem is?

Thanks,
Brandon



More information about the Gcc-help mailing list