www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/13/09:32:08

From: "Kalum Somaratna aka Grendel" <kalum AT newmail DOT net>
To: djgpp AT delorie DOT com
Date: Sat, 13 Nov 1999 19:34:52 +0600
MIME-Version: 1.0
Subject: Re: please help!
CC: davidhutch AT altavista DOT net
In-reply-to: <80i4ch$ire$1@aklobs.kc.net.nz>
X-mailer: Pegasus Mail for Win32 (v3.12)
Message-ID: <94253642401@out.newmail.net>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 13 Nov 99, at 11:34, David Hutchison wrote:

> OK.  Here is the output after trying to compile the libraries (I typed
> "make -f makefile libs"):
> ------------
> c:/progra~1/djgpp/bin/make.exe -C src -f makefile.dj2
> make.exe[1]: Entering directory `c:/progra~1/djgpp/src'
> gcc -c -O6 -Wall -fomit-frame-pointer -I. -I./include -I../include -I../addo
> ns/p
> rint -I../addons/bmp utils/shiftscl.c -o utils/shiftscl.o
> 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

 It sounds that you are trying to compile the GRX graphics library.

You are getting the errors because gcc295 and above have 
changed there inline assembly support so that older programs 
which compiled OK with gcc281 give errors when useing newer gcc 
compilers (gcc295 etc....).

I remember that one of the subscribers to this list has posted a 
patch for the GRX library during an earlier discussion about the 
same topic. You can try visiting DJ's site <www.delorie.com> and 
try searching the mail archives for this patch.

Hope this help's, 
Kalum

- Raw text -


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