Mail Archives: djgpp/1996/06/27/05:09:47
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 -