Message-ID: <87BC54A997CCD01198930020AFF6011C32FA@mail.rkk.cz> From: "Holejsovsky, Pavel" To: Andrew Crabtree Cc: djgpp AT delorie DOT com Subject: RE: Recompiling FSDB Date: Thu, 22 May 1997 13:57:06 +0200 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk I know this problem, it is not related to PGCC. There's some inline assembly in fsdb which contains mentioned instruction (xorl %al, %al). You have to correct it to xorb %al, %al, it should work fine then. BTW: Did someone succeeded rebuilding sources of libc & related stuff (everything in djgpp/src subdir) ? I tried it before (djgpp 2.01, all original files, gcc 2.7.2.1, binutils 2.7, no changes made to sources, ran makeall.bat (hope the name is correct) in djgpp/src) and: I could not build fsdb without a change mentioned above I could not build math library (problem which someone posted before, I think file(s) are *_finite.S, or so. Fix is quite simple, again as in fsdb finally, ar produced VERY incomplete libc.a (overwriting my old working one from distribution :-() and I wasn't able to fix this by hand (I got lost in the phase of making stub000x which I didn't understood). I believe that all those problems are caused by binutils 2.7, e.g. with binutils 2.6 there would be no problem, although I didn't try it. I think that it would be nice to update library sources to be compilable without errors by current djgpp distribution. thanx Pavel > -----Original Message----- > From: Andrew Crabtree [SMTP:andrewc AT typhoon DOT rose DOT hp DOT com] > Sent: Wednesday, May 21, 1997 8:14 PM > To: djgpp AT delorie DOT com > Subject: Recompiling FSDB > > Has anyone successfully recompiled the Full Screen Debugger? > It is in /src/debug/fsdb/ > > I am having trouble with fullscr.c > > At first I thought it was a PGCC problem, but after a little more > troubleshooting I am not sure. > > PGCC on -O6 hangs (this is a real problem) > PGCC on -O2 puts three 'xorl %al, %al' in the .s file and > gas won't assemble it > PGCC with no -O flag puts 1 'xorl %al, %al' ... > > I overwrote just cc1.exe with the normal one from DJ (still have > new gcc, cpp, and as), and tried with it. > > I got the same results on -O2 and with nothing!? > > Any ideas ... > > Andrew