delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/29/03:41:43

Message-Id: <200007290632.JAA27537@mailgw3.netvision.net.il>
Date: Sat, 29 Jul 2000 09:32:10 +0200
To: Pierre AT Sensei-ltd DOT com
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
In-reply-to: <F368F0759327D211B06A0008C728FB73708904@SENSEI1>
(Pierre AT Sensei-ltd DOT com)
Subject: Re: Compiling grx23 with gcc 2.9.5.2
References: <F368F0759327D211B06A0008C728FB73708904 AT SENSEI1>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Pierre AT Sensei-ltd DOT com
> Date: Fri, 28 Jul 2000 18:46:23 +0100
>
> I tried to compile the grx23 library with DJGPP v2 and gcc 2.9.5.2 on a
> WinNT 4 OS.
> First, I had to modify the makefile, because the "if exist ... del ..."
> caused errors.

Hmm?  What are the problems with "if exist..." on NT?  What shell do
you use on that machine, COMMAND.COM or CMD.EXE (or something else)?

> d:/djgpp/bin/make.exe -C src -f makefile.dj2
> make.exe[1]: Entering directory `d:/djgpp/grx23/src'
> gcc -c -O6 -Wall -fomit-frame-pointer -I. -I./include -I../include
> -I../addons/print -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 CREG.

See section 8.17 in the DJGPP FAQ list (v2/faq230b.zip from the usual
DJGPP sites).  This has nothing to do with NT, but with latest GCC
versions.

- Raw text -


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