Xref: news2.mv.net comp.os.msdos.djgpp:4854 From: lehmann AT mathematik DOT th-darmstadt DOT de (Alexander Lehmann) Newsgroups: comp.os.msdos.djgpp Subject: Re: Why are they so fat? Date: 11 Jun 1996 14:39:06 GMT Organization: Technische Hochschule Darmstadt Lines: 45 Message-ID: <4pk0ea$q12@rs18.hrz.th-darmstadt.de> References: <29C186D7EED AT fs2 DOT mt DOT umist DOT ac DOT uk> NNTP-Posting-Host: fb0408.mathematik.th-darmstadt.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp A.Appleyard (A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk) wrote: : On Mon, 10 Jun 1996, A.Appleyard wrote: : > The extra bulk that Martin Krieger complains of, is NOT insignificant for a : > user who has to keep a lot of compiled djgpp .EXE's. In a nearly full disk, : > such extra bits of store usage per file add up. : Eli Zaretskii replied:- : > If that hurts, you should compress your .EXE files. Get DJP (the : > DJGPP-specific exe compressor) and run it on all your programs. ... : Having to uncompress each program as I need it would be a pain in the neck. : Automatic file-compressors like Doublespace and Stacker etc are notoriously a : dragon and a risk, and the first thing I did with my new PC was to edit its : AUTOEXEC.BAT to disable the Doublespace that came on it. How much extra work : would it involve to give djgpp an option to tell it to compile a program to : run in real-mode? to save the user from having to clutter his computer with a : second compiler for stray needs to compile small real-mode programs. Compiling djgpp programs in real mode would require a complete set of new libraries most of which would have be rewritten from scratch because of the brain dead memory contraints imposed by real mode, most include files would have to be redone (different pointer types and sizeof differences) and it would require an additional code generator (probably cc1 and cc1plus) and set of binary tools (ld, ar, etc). If you want a real mode compiler, there may be ports of the free pcc compiler for real mode, of course, without much optimization and probably not even ANSI-C. Less features, but probably also less space requirements. BTW, I haven't used it, but I would expect DJP to work similar to pklite, diet and all the other exe compressors, the executable is decompressed and loaded into memory at startup, so the user will not notice any difference (except maybe a minor delay). bye, Alexander PS. anyone have a site for DJP? I seem to have missed the announcement. -- Alexander Lehmann, | "On the Internet, alex AT hal DOT rhein-main DOT de (plain, MIME, NeXT) | nobody knows lehmann AT mathematik DOT th-darmstadt DOT de (plain) | you're a dog." !!CHANGED!!