Xref: news2.mv.net comp.os.msdos.djgpp:5501 From: Nick Collier 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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