compiler error 1052:Directive not recognized

Jeffrey A Law law@cygnus.com
Fri Oct 1 00:00:00 GMT 1999


  In message < 7qhjph$bl0$1@nnrp1.deja.com >you write:
  > I installed gcc on HP-UX 10.20 using the pkgadd and the binary  gcc-
  > 2_8_1-sd-10_20_depot
  > 
  > It appears to have installed correctly in /opt/gcc
  > 
  > When I try to test it by compiling a simple program: /opt/gcc/bin/gcc
  > hello.c  I get this error:
  > 
  > as: "/var/tmp/cca03961.s", line 16:error 1052: Directive name not
  > recognized - NSUBSPA
You have configured the compiler to use gas, but it is finding the HP
assembler first.

Please read the GCC FAQ, it discusses this issue in great detail.

Some of the workarounds/solutions won't work since you're using an out of
date, buggy  compiler (gcc-2.8.x).  I recommend you use gcc-2.95.1.

jeff



More information about the Gcc-help mailing list