www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/28/13:11:36

Xref: news2.mv.net comp.os.msdos.djgpp:5501
From: Nick Collier <ncollier AT tiac DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Compiler error when compiling *.S File
Date: Fri, 28 Jun 1996 09:03:08 -0400
Organization: The Internet Access Company
Lines: 20
Message-ID: <31D3D80C.2C8C@tiac.net>
NNTP-Posting-Host: 206.119.237.193
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I get the following error when I try to compile.


C:\TEMP\cccaaaaa: Assembler messages:
C:\TEMP\cccaaaaa:107: Error: no opcode suffix given and no register operands; can't size 
instruction

My command line looks like:

gcc -Wall -02 -o poly.exe polytest.c polyfill.c pdraw.S -lm -lpc

This all works fine when pdraw.S is replaced with a C file. I've tried to look at 
cccaaaaa but it changes as the individual files are compiled and the few versions that 
I've seen seem to fine. That is, the opcode on line 107 has a suffix etc. 

It took some time to code the assembly so any help would really be appreciated. Please 
repy by email.

TIA,
Nick

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019