This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compile error on hpux10.20 egcs-19980628
- To: "David B. Rees" <dbr at oto dot dyn dot ml dot org>
- Subject: Re: Compile error on hpux10.20 egcs-19980628
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 07 Jul 1998 23:46:32 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.LNX.3.96.980707111637.23779A-100000@oto.dyn.ml.org>you write:
> Got the following while compiling on hpux10.20. Using gcc 2.7.1, and
> other gnu tools (make, binutils, sed, etc).
>
> echo "void __foo () {}" > dummy.c
> ./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
> as: "/var/tmp/cciR1zdq", line 10: error 1052: Directive name not
> recognized - FILE
> as: "/var/tmp/cciR1zdq", line 12: error 1052: Directive name not
> recognized - STABSecho "void __foo () {}" > dummy.c
> ./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
> as: "/var/tmp/cciR1zdq", line 10: error 1052: Directive name not
> recognized - FILE
> as: "/var/tmp/cciR1zdq", line 12: error 1052: Directive name not
> recognized - STABS
You configured with --gas or --with-gnu-as, but egcs is finding the
hpux assembler before gas. This is covered in the faq.
jeff