This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
compiling gcc 2.8.1 on hpux 10.20
- To: help-gcc at gnu dot org
- Subject: compiling gcc 2.8.1 on hpux 10.20
- From: Brandon Metcalf <bmetcalf at nortelnetworks dot com>
- Date: Thu, 18 Nov 1999 13:40:28 -0800
- Newsgroups: gnu.gcc.help
- Organization: Nortel Networks
- Xref: wodc7nx0 gnu.gcc.help:1878
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