From: Ian Miller Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems with DJGPP lib and grx23 Date: 15 Nov 1999 12:56:06 +0000 Organization: Defence Evaluation & Research Agency Lines: 27 Message-ID: <87n1sfhq1l.fsf@hasn.dera.gov.uk> References: <80h38o$95e$1 AT hudsucker DOT umdac DOT umu DOT se> NNTP-Posting-Host: 146.80.115.106 X-Newsreader: Gnus v5.7/Emacs 20.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Jfs" writes: > I get following mesages when runinng make -f makefile.dj2 (when installing > grx23). > 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 > > I follow the instruction in the grx23rme.1st file. What am I doing wrong? Your compiler, or maybe your assembler, is too up to date. Those asm statements need to be modified to work with gcc 2.95x. I posted fixes for this back in September that work OK for me. By lucky hap I have the patches on my website in directory http://www.shelob.f9.co.uk/djgpp/ so you can try them for yourself if you like. Hope this helps, Ian -- Ian Miller, Room 142, Building A22, Winfrith Technology Centre, Dorchester, DORSET, DT2 8XJ, UK, Tel: +44 1305 212544 Fax: +44 1305 212116 The views expressed above are those of the writer and do not represent the views, policy, or understanding of any other person or official body.