delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/15/18:59:39

Sender: root AT delorie DOT com
Message-ID: <38078C7B.2464AD55@inti.gov.ar>
Date: Fri, 15 Oct 1999 17:20:11 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.38 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: asm problem with grx compil
References: <7u7uft$h1a$1 AT wanadoo DOT fr>
Reply-To: djgpp AT delorie DOT com

Marc guedon wrote:

> here is the error msg :
>
> ( there is a problem with a asm instruction )
>
> 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 CR
> EG.
> utils/shiftscl.c:102: Invalid `asm' statement:
> utils/shiftscl.c:102: fixed or forbidden register 2 (cx) was spilled for
> class C
> REG.
> make.exe[1]: *** [utils/shiftscl.o] Error 1
> make.exe[1]: Leaving directory `c:/djgpp/src'
> make.exe: *** [libs] Error 2
>
> i m not a pro with asm so if someboby could help me it would be great !!

I don't have the code here, but it looks like a very common problem with gcc
2.95, this code must be compiled with 2.8.1 or 2.7.2. The solution is quite easy
but you need to know something about asm.
If you send me the code I can try to fix it.

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
                    set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


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