Mail Archives: djgpp/1996/10/20/08:06:30
On Sat, 19 Oct 1996, Rocky Burt wrote:
>I just completely wiped out my V2.0 distribution of djgpp and
>reinstalled the new one. So I also decided to reinstall or remake
>allegro 2.1. But it gets to the third file and it says:
>
>c:/develop/compiler/djgpp/tmp\ccbaaaaa: Assembler messages:
>c:/develop/compiler/djgpp/tmp\ccbaaaaa:252: Error: register does not
>match opcod e suffix c:/develop/compiler/djgpp/tmp\ccbaaaaa:269:
>Error: register does not match opcod e suffix
>
>Any idea why, I'd like to have allegro running with the new version.
>I've never had trouble making the library before, so I'm wondering if
>this is a bug. If anyone's got any idea, please let me know.
>Thanks.
It's certainly not a bug. New GAS is just more picky than before. It complains
if operand sizes don't match that announced in instruction mnemonic. For
example if you issue:
movw $5, %eax
it'll fail to match the line to some existing instruction. The problem exists
only in .S and .s files as GCC generates correct code.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Stand straight, look me in the eye and say goodbye
Stand straight, we drifted past the point of reasons why,
Yesterday starts tommorow, tommorow starts today,
The problems always seem to be
we're picking up the pieces on the ricochet
/\/\/\/\/\/\/\/\/\/\ http://ananke.amu.edu.pl/~grendel \/\/\/\/\/\/\/\/\/
- Raw text -