Mail Archives: djgpp/1996/12/24/01:35:13
Colin W. Glenn wrote:
>
> Question! Is it possible to compile programs without DPMI? I'm looking
> to create a series of small utility programs, and I'd rather they load
> fast, without the need to load something else to run.
Unfortunately, it is not. DJGPP requires a 32-bit environment to run
in, and plain vanilla DOS just won't cut it. There are methods you can
use to reduce the size of DJGPP programs (see the FAQ), but the absolute
minimum for a useful distributable program is 20-30k for the program and
another 20k for CWSDPMI. Don't feel turned off - this is MUCH smaller
than any other 32-bit compiler in existence.
If you really want a tiny little 10k program, then you'd be better off
using a dinky 16-bit compiler for the small stuff, or coding in pure
assembly and nuking all the startup code, which can get pretty messy.
;)
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| God's final message to His Creation: | http://www.cs.com/fighteer |
| "We apologize for the inconvenience."| Fight against proprietary |
| - Douglas Adams | software - support the FSF!|
---------------------------------------------------------------------
- Raw text -