Xref: news2.mv.net comp.os.msdos.djgpp:5463 From: Thomas Demmer 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 * *************************************************************