From: "Chris A. Triebel" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro make error Date: Tue, 17 Dec 1996 07:34:26 -0500 Organization: University of New Hampshire - Durham, NH Lines: 49 Message-ID: NNTP-Posting-Host: sun4.iol.unh.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <594lg3$3g0@nr1.calgary.istar.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 16 Dec 1996, Roger Carbol wrote: > Date: 16 DEC 1996 23:20:35 GMT > From: Roger Carbol > Newgroups: comp.os.msdos.djgpp > Subject: Allegro make error > > Well, I download Allegro, with much anticipation as it looks like > pretty much the coolest thing since sliced breadboards. > > So I ran make. Then I re-unzipped it with -d and ran make again. > > It got farther, but then resulted in the following message: > > > gcc -I. -Isrc -Wall -o obj/bank.o -c src/bank.S > > c:/djgpp/tmp\ccbaaaaa: Assembler messages: > > c:/djgpp/tmp\ccbaaaaa:252: Error: register does not match opcode suffix > > c:/djgpp/tmp\ccbaaaaa:269: Error: register does not match opcode suffix > > make.exe: *** [obj/bank.o] Error 1 > > Anyone have any ideas on why this occurred? (I can provide more info > on my platform, the source and version of Allegro, etc if that would > be useful.) > > > Thanks for everyone's help, > > > Roger Carbol .. rog AT col DOT ca .. sigh This looks like a recently documented problem with allegro and djgpp 2.01 I believe that solution is to change the assembly instructions To quote from another email sent out by Eli ... " There are two lines in bank.S which say "incl %ah". You should change them to say "incb %ah" instead. Allegro was developed with DJGPP v2.0, but the assembler which comes with DJGPP v2.01 is less permissive with regard to operator-operand size mismatches (AH is a byte-wide register, but incl is an instruction to increment a 32-bit wide entity). " Pardon me if this isn't truly the problem. cat