Mail Archives: djgpp/2013/10/15/18:45:13
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
X-Received: | by 10.42.237.206 with SMTP id kp14mr1321505icb.33.1381876698082;
|
| Tue, 15 Oct 2013 15:38:18 -0700 (PDT)
|
X-Received: | by 10.50.170.228 with SMTP id ap4mr545912igc.16.1381876697898;
|
| Tue, 15 Oct 2013 15:38:17 -0700 (PDT)
|
Newsgroups: | comp.os.msdos.djgpp
|
Date: | Tue, 15 Oct 2013 15:38:17 -0700 (PDT)
|
In-Reply-To: | <f753e67c-d661-4f55-802c-f52e4dabca8b@googlegroups.com>
|
Complaints-To: | groups-abuse AT google DOT com
|
Injection-Info: | glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246;
|
| posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
|
NNTP-Posting-Host: | 65.13.115.246
|
References: | <f753e67c-d661-4f55-802c-f52e4dabca8b AT googlegroups DOT com>
|
User-Agent: | G2/1.0
|
MIME-Version: | 1.0
|
Message-ID: | <6a5bd97a-a320-4b63-b323-ce16243b7d52@googlegroups.com>
|
Subject: | Re: Making a standalone EXE that will work without DJGPP
|
From: | rugxulo AT gmail DOT com
|
Injection-Date: | Tue, 15 Oct 2013 22:38:18 +0000
|
Bytes: | 3175
|
Lines: | 50
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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 Monday, October 14, 2013 5:17:27 PM UTC-5, Segadude wrote:
>
> Today, I successfully compiled Lua 5.2.2 for MS-DOS using DJGPP.
Any particular reason? LUA_ANSI? Did you know that Juan already
did a port of that for us? See /beta/v2tk/ :
http://na.mirror.garr.it/mirrors/djgpp/beta/v2tk/lua522b.zip
> I want to make it a standalone EXE so I can distribute it.
You mean bundle the DPMI server? Not needed if you're running
under DOSEMU, DR-DOS 7.03, OS/2, Win9x, or WinNT (e.g. XP 32-bit).
Only in raw DOS without CWSDPMI (or similar) already present will
this be a minor problem.
Though it doesn't hurt either way, 20 kb is pretty small.
> I read
> that pmode11b.zip is supposed to do it but I don't really understand
> how to use it.
AFAIK, latest is PMODE/DJ 1.3, see /current/v2misc/ or CWS' homepage:
http://na.mirror.garr.it/mirrors/djgpp/current/v2misc/
http://homer.rice.edu/~sandmann/
http://homer.rice.edu/~sandmann/cwsdpmi/pmodedj.txt
However, PMODE/DJ is darn old, and while I don't fully understand it,
I don't trust it nearly as much as CWSDPMI r7 (circa 2010). I think
that was back (pre-r5) before CWSDSTUB existed, so (IMHO) there's
really no major need for preferring or using PMODE/DJ (that I know of).
> Is there a way to make a standalone EXE that will run
> by itself without DJGPP being installed? Any help would be greatly
> appreciated.
DJGPP doesn't have to be installed, only a small DPMI server since all
v2 programs need DPMI. By default, the stub tries to call CWSDPMI.EXE
if no other is enabled. If you want to make it not require an external
DPMI host, you can "exe2coff blah.exe" and then "copy /b cwsdstub.exe
+ blah blah.exe" .
> P.S. DJGPP is great, I love it. Keep up the great work!
It still works, but there isn't a lot of active work being done
on it. Quite honestly, most developers moved on to greener pastures
(to put it mildly).
- Raw text -