www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/01/06:30:15

Date: Sun, 1 Sep 1996 13:23:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Stephen Marton <istvan AT outer-net DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: DJGPP exe's
In-Reply-To: <50aoq4$m9h@loki.tor.hookup.net>
Message-Id: <Pine.SUN.3.91.960901131908.22009C-100000@is>
Mime-Version: 1.0

On Sun, 1 Sep 1996, Stephen Marton wrote:

> I ust started using DJGPP, so I obviously started with small programs.
> It is really annoying, that a 1K source file can turn into 50k or more
> when compiled. When I used GRX, the minimum file size is 150K. Is it
> possible to dramatically reduce the size of these executables?

The reasons for this seemingly large overhead, as well as the options you 
have to make it smaller, are discussed in the DJGPP FAQ list (available 
as v2/faq201b.zip from the same place you get DJGPP), section 8.15.

> Another problem that I have, is that my programs don't run at all
> under DOS, even though I have CWSDPMI in my path. They either freeze,
> or simply reboot my comuter.The compilation also takes hours,
> actually, I'm not sure, exactly how much because I only had the
> patience to wait half an hour for a 2k file, than I aborted it. I know

In the above-mentioned FAQ list, read section 3.9.  It explains how to 
set up your machine for DJGPP.  From your description it seems that you 
are leaving too few free RAM for DJGPP.

If the FAQ recommendations don't help, post your AUTOEXEC.BAT, 
CONFIG.SYS, and what go32-v2 prints when called with no arguments, and 
somebody will help you.

- Raw text -


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