Xref: news2.mv.net comp.os.msdos.djgpp:5564 From: Brad Burgan Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiler error when compiling *.S File Date: Mon, 01 Jul 1996 17:33:11 -0500 Organization: Westpark Answering Service Lines: 28 Message-ID: <31D85226.4B01@i-link.net> References: Reply-To: bradtech AT i-link DOT net NNTP-Posting-Host: houston-1-13.i-link.net 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 Samuel Vincent wrote: > > On Fri, 28 Jun 1996, Nick Collier wrote: > > > 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. > > Well. could you possibly post pdraw.S? I'm sure it's something in > there... > > -Sam Try adding -save-temps to your command line. This will save any and all transition files GCC creates.