delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/07/19/16:45:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: rugxulo AT gmail DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Ispell
Date: Thu, 19 Jul 2012 13:18:31 -0700 (PDT)
Organization: http://groups.google.com
Lines: 116
Message-ID: <bc764308-d6c0-4e2e-8ace-ce4dcf0a12f9@googlegroups.com>
References: <MPG DOT 2a61256b7098af43989680 AT news60 DOT forteinc DOT com>
<83sjd412pe DOT fsf AT gnu DOT org> <MPG DOT 2a7144fe6aabaaed989683 AT news60 DOT forteinc DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1342730091 19904 127.0.0.1 (19 Jul 2012 20:34:51 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 19 Jul 2012 20:34:51 +0000 (UTC)
In-Reply-To: <MPG.2a7144fe6aabaaed989683@news60.forteinc.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
Bytes: 5778
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q6JKj2tG024468
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

Hi,

On Wednesday, July 18, 2012 10:11:51 PM UTC-5, Stephen W. Bullington wrote:
> 
> Sorry I took so long to reply.  I have SET TEMP=C:\TEMP in the 
> autoexec.bat file for both machines Ispell doesn&#39;t work on, as well as 
> SET TEMP=C:WINDOWS\TEMP in the autoexec.bat for the Win98SE machine it 
> does work on.

I assume you really meant C:\WINDOWS\TEMP here (as without the first slash it probably wouldn't work). Anyways, it depends on the app how it handles temporary files. Usually they seem to check TMPDIR, TEMP, TMP, /tmp, or similar.

> There is also a C:\DJGPP\TMP directory on all three 
> machines.

Okay, but unless you have DJGPP=c:\djgpp\djgpp.env set or TMPDIR manually set to it, that won't affect anything.

Anyways, that wasn't the problem, so no worries.

> To switch subjects, I&#39;ve tried to compile Emacs on all three and on all 
> the compilation works up to a point, and then chokes on what looks to me 
> like some assembly code.  I don&#39;t have time tonight to outline the exact 
> screen output but I&#39;ll post again in a day or so with the details.

There are too many GCC versions over the years, so the Emacs dudes don't test all of them. Last I read somewhere, they only tested certain 4.x versions. Unfortunately, DJGPP's unexec() apparently relies on COFF debug info, which is horribly deprecated and somewhat broken in newer releases.

Somewhat blindly guessing, it's probably best to try GCC 3.4.4 (like Eli does) or 4.4.5 or older. Though a few years ago I tried 2.95.3 on Emacs 23.1, and that didn't work, so that's probably too old. (Silly but unfortunate problem.)

> In the past I managed (with an older setup) to compile Emacs 20.5 
> successfully on all three machines.

In theory, everything would work fine, but reality is different. Anyways, 20.5 is much older, so I guess it didn't stress test GCC as much.

> BTW, I have bnu2211 installed as 
> well as NASM.

Latest BinUtils for DJGPP is 2.22r3 (though the Zip Picker still suggest that older one, for now). However, I don't think it matters here (and you don't need NASM at all).

bnu222br3.zip 22-Apr-2012 21:18 5297698

http://na.mirror.garr.it/mirrors/djgpp/current/v2gnu/bnu222br3.zip

> I think my current DJGPP C/C++ setup is mostly OK because 
> I&#39;ve managed to use it for compiling Quake on Win98SE and for compiling 
> MicroEmacs &#39;06 everywhere (Quake, though, does flub on the SFN 
> machines).  Quake, SETEdit, and Microemacs &#39;02 compiled flawlessly on 
> all installs of my earlier DJGPP set up.

For GNU Emacs, you need Make, GCC, BinUtils, DJDEV, mv, rm, sed. I think that's all. I can't remember needing much else. mv and rm are in DJGPP's FileUtils (fil41b.zip).

I don't recall compiling MicroEmacs '06 (JASSPA, presumably) nor SetEDIT (needs C++, right?). I did a few times recompile Quake, but it's a little bitrotted for DOS (they didn't re-test in 1999 source release), esp. due to *nix sbrk() handling, so you have to set a crt0 flag somewhere (and it won't run on NT-based machines due to near ptrs).

> I upgraded both my DJGPP installations and Emacs mainly 
> because I have Emacs 23.4 installed on a Windows 7 laptop, and wanted to 
> use org mode everywhere.

org-mode sounds too complicated for me, but I've not looked too closely.

> I&#39;ve got some problems there too with the DOS 
> setups but I think they&#39;re eLisp related and I&#39;ll cover them 
> later.

Okay, though I know nil about that.  :-P

> After I started writing this I noticed that another person figured out 
> what is wrong and developed a code patch.  But I&#39;ll have to get the old 
> code to compile before I can append it.  So I&#39;ll post later on my 
> problems compiling 23.3.

Recompiling is easier, but I (weakly) tried to also make a binary patch. Dunno if hexl mode and -batch would allow for a potential to patch itself, heh.

> Something to be thinking about--is there a GnuPG for DJGPP (I couldn&#39;t 
> find it, but that doesn&#39;t mean its not there)?  If there isn&#39;t it would 
> sure be useful to read Emacs diary.gpg files encrypted on Windows-based 
> systems, but opened on DOS ones.

The only unofficial DJGPP build I'm aware of is below (but I've never tried it nor GnuPG in general):

http://www.caddit.net/php/download.php?file=dg-gnupg.zip

> Thanks to everyone for taking time to help.

Be sure to post back whether any of this helps!

- Raw text -


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