HPUX build error - please help.
Robert A Nesius
rnesius@ichips.intel.com
Fri Oct 1 00:00:00 GMT 1999
My gcc build consistently freaks out when I try to build with --with-gnu-as
turned on. Platform is HPUX 10.20.
-> gcc 203> cat dummy.c
void __foo () {}
-> gcc 204> pwd
/mnt/scratch/rnesius/gcc-2.95.1/hp10.20/gcc
^^^^^^^ My objects dir.
echo "void __foo () {}" > dummy.c
./xgcc -B/usr/local/pkgs/gcc/2.95.1/hppa1.1-hp-hpux10.20/bin/ -B./ -I/usr/local/
pkgs/gcc/2.95.1/hppa1.1-hp-hpux10.20/include -DIN_GCC -DHAIFA -g -I./include
-c dummy.c
as: "/var/tmp/ccc9xTza.s", line 10: error 1052: Directive name not recognized -
FILE
as: "/var/tmp/ccc9xTza.s", line 12: error 1052: Directive name not recognized -
STABS
as: "/var/tmp/ccc9xTza.s", line 13: error 1052: Directive name not recognized -
STABS
as: "/var/tmp/ccc9xTza.s", line 18: error 1052: Directive name not recognized -
STABS
as: "/var/tmp/ccc9xTza.s", line 19: error 1052: Directive name not recognized -
STABS
as: "/var/tmp/ccc9xTza.s", line 20: error 1052: Directive name not recognized -
STABS
as: "/var/tmp/ccc9xTza.s", line 21: error 1052: Directive name not recognized -
STABS
With many more similar error messages following. The build dies when as:
finishes spitting out all of the errors.
/var/tmp/cc8xTza.s was not available for me to look at; looks like something
cleaned it up.
Has anyone else here successfully built gcc 2.95.1 on hpux 10.20?
I was able to build successfully without --with-gnu-as, but then
gcc -g was disabled, and gcc emitted massive amounts of warnings
about -g being turned off - most annoying.
The README and web pages indicated that binutils had been rolled into
the gcc source tree, but it didn't look like gld and gas were part
of the build, so I untarred binutils 2.9.1 into the gcc sources.
Not sure if that was a mistake or not....
Help? :) Thanks in advance!
-Rob
--
#include <sig.h>
------------------------------------------------------------------
Robert Nesius rnesius@ichips.intel.com 503.264.2830
More information about the Gcc-help
mailing list