Mail Archives: djgpp/1999/10/15/18:59:39
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 -