From: Andrew Crabtree Message-Id: <199705201404.AA181277048@typhoon.rose.hp.com> Subject: Re: problem compiling library sources [with pgcc?] To: ccc AT quadro DOT net (Chris Cauchi) Date: Tue, 20 May 1997 7:04:08 PDT Cc: djgpp AT delorie DOT com In-Reply-To: <5lqukb$3na@nr1.toronto.istar.net>; from "Chris Cauchi" at May 20, 97 1:26 am Precedence: bulk > >gcc @../../gcc.opt -I. -I- -I../../../include -Wno-error -Wno-strict-prototypes > >-D_USE_LIBM_MATH_H -c s_finite.S > >e:/djgpp/tmp/ccaaaaaa.s: Assembler messages: > >e:/djgpp/tmp/ccaaaaaa.s:114: Error: register does not match opcode suffix > >make.exe: *** [s_finite.o] Error 1 > > It appears to be pointing to the "ret" instruction at the end of > s_finite.s, which seems no different than any of the other source files > in the dir. > Anyone have any ideas? I think (going by memory here), that it chokes on setXXl reg8 In this specific case setnel %al Try changing it to setneb %al This should get it to compile anyway. Although I'm not sure how it ever worked (but I don't know at&t syntax) as setXX can only operate on byte sized registers, never dword registers. You'll see this same problem in a couple of places. Andrew