www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/27/05:09:47

Xref: news2.mv.net comp.os.msdos.djgpp:5463
From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Executable size
Date: Thu, 27 Jun 1996 08:37:29 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 40
Message-ID: <31D23A39.FF6@LSTM.Ruhr-UNI-Bochum.De>
References: <835702357snz AT flag DOT demon DOT co DOT uk>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ben Ashley wrote:
> 
> Hi All,
> 
> Is the filesize of a DJGPP created program limited to 640k?  I know you can
> allocate tons of memory etc, and have lots of fun whilst its running, but can
> the initial size be greater than this?
> 
> --
> Cheers,
> 
> Ben       

I suppose the answer is "NO", try a dir /djgpp/bin/cc1.exe an find
1.038.848 Bytes in that file. The 640kB limit is only for
the real mode image after loading. You can easily do a
zip -9 -r windoof c:/windows
copy /b zipsfx.exe + windoof.zip windoof.exe 
and get a +10MB executable which will run smoothly.
The .exe size has nothing to do with 640kB. Under Turbo Pascal
you could add your overlays to the .exe file to have everything
in on file. 

(For the non-german speakers: ``doof'' means ``stupid'')
 
Ciao
Tom



*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


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