Mail Archives: djgpp/2000/02/12/01:02:41
On Fri, 11 Feb 2000 21:28:01 +0300, "Dmitry Shkarin"
<dmitry DOT shkarin AT mtu-net DOT ru> wrote:
> Hi, Damian!
>>1. Each DJGPP program has a mini-extender built in that goes to 32-bit
>>protected mode. This extender takes space.
> Other compilers have extender code too.
Extender that lives in some bloated DOS4GW.EXE file.
>>2. You forgot to strip out debugging information.
>> strip foo.exe
> I had done it.
>
>>3. You forgot to compress the EXE (also strips it.)
>> http://upx.tsx.org/
> By my experience(not so big), UPX is not very safe program
Recent versions are very stable; however, there is still
ABSOLUTELY NO WARRANTY.
>and, again, I had compared DJGPP-executables with uncompressed
>output of other compilers.
Other compilers that produce 32-bit protected mode DOS apps that don't
need an external extender other than what is built into Windows,
DOSEMU, and DR DOS and is a mere 20K on plain DOS?
> Just for information, small program ~2000 lines, optimized for speed:
> BorlandC v5.01 44KB
> VisualC v.6.0(no extender) 44KB
> WatcomC v10.6 51KB
DOS4GW.EXE 250 some K (does not work if compressed with UPX)
> IntelC v.4.0(no extender) 40KB
> DJGPP v2.03 102KB
CWSDPMI.EXE 20 some K (compressed with UPX and still works)
Also, "optimized for speed" in DJGPP bloats programs because GCC makes
programs run wicked fast by using all the dirty alignment tricks of
the i?86 trade.
--
Damian Yerrick http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html
- Raw text -