Xref: news2.mv.net comp.os.msdos.djgpp:7278 From: "John M. Aldrich" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Mr. Eric Domazlicky" 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 -----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------