www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/12/17:30:28

Xref: news2.mv.net comp.os.msdos.djgpp:7132
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP's .exe's are TOO large
Date: Mon, 12 Aug 1996 14:30:18 +0200
Organization: Adam Mickiewicz University
Lines: 48
Message-ID: <Pine.NEB.3.95.960812142450.16040A-100000@ananke.amu.edu.pl>
References: <4uk6qr$795 AT utdallas DOT edu>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
NNTP-Posting-Host: ananke.amu.edu.pl
Mime-Version: 1.0
To: lafitte AT utdallas DOT edu
In-Reply-To: <4uk6qr$795@utdallas.edu>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 11 Aug 1996 lafitte AT utdallas DOT edu wrote:

>     The program :
>main() {
>
>}
>compiles to something like 30 or 40k!  What gives.  If you then use just 
What gives? The djgpp startup code has a lot of to do with setting up your
app to run in prot mode. Formerly the stuff was in an external program but now
it is incorporated in to your app - and that's good. 

>a couple library functions your code size goes up to around 50 or 60k.
Ever tried to use BC4.X+ compilers? Noticed how big they are - and what takes
place there is just an exception-handling code. Add to that the 150K rtm.exe
and you have 200K just to say "Hello world". Is 40K so much in that light?

  >Am I setting the program up wrong or what?  Do the programs really need 
>that huge "library chunk" of data to run?  I can put up with the slow 
>compile time, but I make up a lot of little apps, and it just seems that
 It's as fas as WATCOM. 
>they're taking up a heck of a lot more disk space then they need be.  
But if you make the app more and more complex, it doesn't grow so much - have
you noticed that?

>Just wondering... Please mail replies to lafitte AT utdallas DOT edu
>
If you're making little apps then better stick to real mode and TC++ or
something similar. If you really want to create small 32-bit apps and the
executables are too big for you - get djp, it will save about 60% of the space
occupied by an unpacked executable.

 >Rei
>
>

/************************************************************/
/** Maybe it was infatuation or the thrill of a chase?   **/          
/** Maybe you were always beyond my reach and my heart **/
/**   was playing safe?                     ***********/ 
/** But was that love in your eyes I saw, **/
/**   or the reflection of mine?        **/
/** I'll never really know for sure,  **/
/** You never really gave me time!  **/
/** Won't you give me that time?  **/ 
/**          "Cindirella Search" **/
/********************************/
Visit my homepage: http://ananke.amu.edu.pl/~grendel

- Raw text -


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