www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/14/20:30:24

Xref: news2.mv.net comp.os.msdos.djgpp:7278
From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP's .exe's are TOO large
Date: Wed, 14 Aug 1996 19:26:56 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 36
Message-ID: <32128AF0.190D@cs.com>
References: <4usslt$j72 AT usenetw1 DOT news DOT prodigy DOT com>
NNTP-Posting-Host: ppp212.cs.com
Mime-Version: 1.0
To: "Mr. Eric Domazlicky" <DHGW39B AT prodigy DOT com>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mr. Eric Domazlicky wrote:
> 
> I have a question regarding the size of DJGPP's Executables being so
> large: Would it be very hard to put the Stub in a seperate file?  This
> way, if you had several .EXEs you were distributing  you could just
> decrease file size by just having one Stub instead of one for every
> EXE file.
> 
> Eric Domazlicky
> dhgw39b AT prodigy DOT com

With all the other ways to reduce the size of a DJGPP executable, the 2K
stub is hardly something you need to worry about.  Besides, it's necessary
for actually running the program.  However, it is possible to distribute
DJGPP progs in raw COFF format without the .exe stub; in that case you must
also distribute 'go32-v2.exe' and use it to run your programs.  As go32-v2
is 54K, however, you'd have to have a whole hell of a lot of individual
programs for the tradeoff to be worth it.  Remember that you also must
distribute CWSDPMI with your programs as well, and the more additional
programs you distribute, the more potential for both user confusion and
user frustration will be created.

If you have no idea what I have just talked about, then you are probably
still running DJGPP v1.*, which _does_ put some pretty hefty junk onto
its files to make them standalone.  Upgrade to v2 immediately and see
the difference in both size and speed.

-- 
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W+>++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------

- Raw text -


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