Message-Id: <4.2.0.58.19991123114726.00a46520@hal.nt.tuwien.ac.at> X-Sender: tony AT dictator DOT nt DOT tuwien DOT ac DOT at X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Tue, 23 Nov 1999 11:57:31 +0100 To: djgpp AT delorie DOT com From: Anton Helm Subject: Re: Problems with DJGPP lib and grx23 In-Reply-To: <87n1sfhq1l.fsf@hasn.dera.gov.uk> References: <80h38o$95e$1 AT hudsucker DOT umdac DOT umu DOT se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 12:56 PM 11/15/99 +0000, you wrote: >Your compiler, or maybe your assembler, is too up to date. Those asm >statements need to be modified to work with gcc 2.95x. correct. >I posted fixes for >this back in September that work OK for me. By lucky hap I have the >patches on my website in directory > >http://www.shelob.f9.co.uk/djgpp/ > >so you can try them for yourself if you like. > >Hope this helps, I cannot recommend these patches for grx23. They make the library compile but now you get a runtime error which I could track down to the inline asm lines in utils/shiftscl.c that were patched. Meanwhile I got a precompiled version of the library (compiled with gcc 2.8.1) which works correctly (well, at least here...). The problem seems to be related to "cx" which is used as a dummy register there. As I am no asm expert I can only make some guesses what's actually happening. Is there some asm guru out there that can look into a 10-line inline asm code that used to work with gcc 2.8.1 ? Tony