This is the mail archive of the gcc@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: NSUBSPA


1) it is supposed to warn you if the return type of main is not int

2) gcc does not always work with the default assembler.  Try grabbing the
binutils as well.

Jon

On Fri, 13 Aug 1999, Raymond Roesch wrote:

> dear author,
> 
> I successfully installed gcc 2.8.1 on my properly installed hp-ux 11.0
> using the HP 10.20 software depot. 
> 
> When compiling I get the following error:
> # /opt/gcc/bin/gcc -o hello hello.c
> hello.c: In function `main':
> hello.c:3: warning: return type of `main' is not `int'
> as: "/var/tmp/cca06584.s", line 23: error 1052: Directive name not
> recognized - 
> NSUBSPA
> 
> Is it due to hp-ux 10.20 incompatibility or what is missing in my
> environment.
> 
> TIA
> Raymond Rösch
> **********************************************************
> Raymond Rösch                 mailto:raymond.roesch@sws.ch
> SWS SoftWare Systems AG       phone:      +41 31 981 06 66
> Freiburgstrasse 634           fax:        +41 31 981 32 63
> CH -  3172 Niederwangen                  http://www.sws.ch
> **********************************************************
> 
> 


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