delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/29/11:00:52

Date: Mon, 29 Nov 1999 16:10:03 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Anton Helm <tony AT dictator DOT nt DOT tuwien DOT ac DOT at>
cc: djgpp AT delorie DOT com
Subject: Re: Problems with DJGPP lib and grx23
In-Reply-To: <4.2.0.58.19991129110037.00a4b160@hal.nt.tuwien.ac.at>
Message-ID: <Pine.A41.4.05.9911291556410.79924-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com



On Mon, 29 Nov 1999, Anton Helm wrote:

> At 01:19 PM 11/27/99 +0200, you wrote:
>  >On 26 Nov 99, at 18:35, Anton Helm wrote:
>  >Perhaps src/utils/shiftscl.c but not shiftscn.c
> sure.
> 
>  >Verified that _GR_shift_scanline works for me compiled with gcc-
>  >2.95.2 (tested it's really called). However I have patched GRX-2.3 rather
>  >much (some patches from me, also ones from other authors)
> 
> Excuse me, but this isn't very helpful as long as these patches are not 
> available. I have applied the patches I have found on the GRX home page
> and the others posted here a week ago to make gcc 2.95 happy.

Patches for GRX-2.3 and BCC2GRX ar at

	http://www.lanet.lv/~pavenis/djgpp/grx23upd.diff
	http://www.lanet.lv/~pavenis/djgpp/bcc2grxupd.diff

> 
>  >I also used gcc-2.95 and gcc-2.95.1 earlier and didn't met problems 
>  >except than I had to fix invalid inline assembler instructions to appease
>  >gcc-2.95 
> 
> Do these fixes match the patches that were distributed here last week ?
> (http://www.shelob.f9.co.uk/djgpp/)

If You mean fixing invalid clober lists in inline assembler then it is
done of course.

> My gcc calls itself 2.95 and the cross compiler (Solaris->DOS) is 2.95.1 
> (cross-binutils 2.9.1). The results are similar.
> 
>  >and also some assembler instructions operands needed to use
>  >rather recent binutils snapshots.
> 
> This isn't very enlightning either. Could you please name the
> binutil version you used and why it was  necessary to use it for
> source code that is several years old (and used to work before).

I'm mostly using binutils-2.9.1. Later binutils snaphots were used for 
testing purposes. Anyway patches should be compatible with these
snapshots. I don't expect problems with binutils-2.8.1 though

> Maybe it would be an idea to put a binary of the library in
> the djgpp distribution as for most of the other packs.
> I don't mind compiling myself but it would help lots of others
> who don't want to digg into inline asm (and its changes with gcc 
> versions).
> 
>  >Perhaps it would be better to post small example which causes crash
>  >in _GR_move_scanline() when latest is compiled with gcc-2.95.X.
> _GR_shift_scanline() but not _GR_move_scanline()
> 
> 
> Here is a little testprogram that shows the described behavior.
> _GR_shift_scanline() is called by GrMouseDisplayCursor().
> The program should switch your display into graphics mode
> and wait for a key. After pressing the key it should display
> a mouse cursor and wait for annother key. Then exit.
> This has been cut out of the actual program, so there is a 
> chance that I have removed too much of the necessary code but it 
> seems to work.
> 

Thanks, I'll check it later when I'll reboot 

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019