Mail Archives: djgpp/1999/11/13/09:32:08
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 -