Mail Archives: djgpp/1996/09/01/06:30:15
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 -