Compile error on hpux10.20 egcs-19980628
Jeffrey A Law
law@cygnus.com
Tue Jul 7 22:54:00 GMT 1998
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
More information about the Gcc
mailing list