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

compiling gcc 2.8.1 on hpux 10.20


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


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