www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/16/08:30:29

Message-ID: <38D0C9F8.40BECC63@ujf-grenoble.fr>
Date: Thu, 16 Mar 2000 12:48:08 +0100
From: Maurice Lombardi <Maurice DOT Lombardi AT ujf-grenoble DOT fr>
X-Mailer: Mozilla 4.7 [fr] (Win98; U)
X-Accept-Language: fr,it,en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com, Ian AT shelob DOT force9 DOT co DOT uk
Subject: Re: NEED HELP WITH GRX
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000314095102 DOT 4527I-100000 AT is>
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii a écrit :
> 
> On 13 Mar 2000, EEricWtt wrote:
> 
> > Got a big problem with GRX 2.3.
> > It just won't compile because of an error in a particular file.
> [snip]
> > utils/shiftscl.c: In function `_GR_shift_scanline':
> > utils/shiftscl.c:48: Invalid `asm' statement:
> > utils/shiftscl.c:48: fixed or forbidden register 2 (cx) was spilled for class
> > CREG.
> 
> See section 8.17 in the DJGPP FAQ list, it tells how to fix this.

Well... I have applied the two patches, compiled (no more error message) and run
the tests contained in the grx23/test subdirectory. Three tests fails with a
SIGSEGV error: blittest, curstest, and imgtest. Using rhide I find that the
error in curstest is in the function __GR_shift_scanline contained in
grx23/src/utils/shifscl.c, in the asm section which has been patched with
patgrx23.diff. I cannot say more since I know absolutely nothing about AT&T
assembly syntax. Anybody knows ???

BTW everything works fine on the same machine/setup if I recompile the tests
with the old libgrx20.a library which was compiled using gcc 2.8.1

-- 
       Maurice Lombardi
Laboratoire de  Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex     FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 51 45 44
mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr

- Raw text -


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