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: FW: question


> i tried (and failed):
> 
> > gcc  helloworld.c
> as: "/var/tmp/ccIJzYda.s", line 22: error 1052: Directive name not
> recognized - NSUBSPA
> 
> > cat  helloworld.c
> int main()
> {
>     printf ("Hello world!..\n");
>     return (0);
> }
> 
> any thoughs??

You did not say where you obtained gcc-2_95_2-sd-11_00_depot.gz, nor
whether it was meant to be used with the "bundled assembler" or the
"GNU assembler", and which one you are using. Anyway, to understand
the problem better, please run the compiler as

gcc helloworld.c --save-temps

and let us know what line 22 of helloworld.s is.

Regards,
Martin

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