delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/24/08:27:41

Date: Wed, 24 Jun 1998 15:27:15 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "EFT.Eric Devolder" <eric DOT devolder AT eft DOT be>
cc: djgpp AT delorie DOT com
Subject: RE: ...and now problem when trying to recompile libm.a !
In-Reply-To: <D1DE20405ECBD011B2AC0060974BC6EA037CFD@DBSERVER>
Message-ID: <Pine.SUN.3.91.980624151943.24233E-100000@is>
MIME-Version: 1.0

On Wed, 24 Jun 1998, EFT.Eric Devolder wrote:

> > > 	setnel	%al
> > 
> > Seems like this is the problem: %al is a 1-byte size, not a long 
> > (4-byte).
> > 
> Well, I'm not 80x86 assembler guru

Neither am I.

> What can I do then ?

Try changing it to setneb.  Somebody please correct me if I'm wrong.

> > Why do you need to rebuild the library anyway?
> > 
> This is for my own purposes. I got the message about the patch for
> libraries, I applied it and now I try to recompile it all.

You don't need to recompile the entire library just to patch one 
function.  All you need is to extract the source of that function from 
djlsr201.zip, edit it, then save the edited version and type these 
commands from the DOS prompt:

	gcc -c -Wall -O3 foo.c
	ar rvs c:/djgpp/lib/libc.a foo.o

(substitute your DJGPP installation directory for c:/djgpp, and the name 
of the source file for foo.c).  That's all!

> Concerning emacs, do you plan to change the current version to emacs 20?

IMHO, Emacs 20.2 is not stable enough yet to be suitable to be used by 
everybody.  It is too slow, and some new features are still untested on 
DOS/Windows and buggy.  Whoever wants it can compile the GNU source 
distribution, it builds right out of the box with DJGPP tools.

> I've already tried to compile it, and it works!

Of course it works, I've put some 2 months of hard work about a year ago 
testing it and adding DJGPP-specific patches into it.

> emacs 20 is funnier than 19.34... :) (yes I know, I'm an 
> emacs-enthousiast !)

If you use Latin-1 encoded files, I would be interested to know how well 
does it work for you.

- Raw text -


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