Message-Id: <199610252210.SAA04172@delorie.com> From: "Troy D. Van Horn" Subject: Re: How to compile Allergo 2.1 under DJGPP 2.01 (gcc 2.7.2.1) ? To: pmo AT fmsc DOT com DOT au Date: Fri, 25 Oct 1996 17:10:26 CDT Cc: trvanhor AT SNOOPY DOT UCollege DOT edu, djgpp AT delorie DOT com In-Reply-To: <199610251521.LAA20404@delorie.com>; from "Troy D. Van Horn" at Oct 25, 96 10:21 am > > outb %al, %dx (line 252) and > > outl %eax, %dx (line 269) > > > > Can any AT&T assembler gurus tell me whats wrong with these two > lines? Or do > > Peter Monks pmo AT fmsc DOT com DOT au > > Peter, > There isn't anything wrong with those lines as near as I can tell > (and you do have the right ones). I just tried it and got the same > error messages myself. I think this is a bug in GAS 2.7 because the > instruction in line 252 appears a few lines above it and GAS does not > generate an error from it. > There are two possible solutions that I can see. Either you can > replace these outs with .byte 0xXX of the object code of these > instructions, or do what I have done and replace as.exe with the one > from binutils 2.5.2 until a fixed version of GAS is available. With the > older version of GAS this assembles just fine, and I have had no other > problems with this setup (though Eli doesn't recommend it). But then > again, I havn't tried recompiling all of alegro with it. > > Troy Van Horn > Please disregard the solutions I mentioned, for the real problem is an error in bank.S in lines 227 and 244 which both have the instruction "incl %ah" which should be "incb %ah". GAS 2.7 is reporting the correct error, but giving incorrect line numbers. Troy Van Horn