This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiler error 1052:Directive not recognized


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]