From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI incorporation... Date: Tue, 24 Dec 1996 00:29:47 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 25 Message-ID: <32BF947B.495F@cs.com> References: <19961220 DOT 124010 DOT 6919 DOT 6 DOT jesusfreak44 AT juno DOT com> <32BC484E DOT 3563 AT cs DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp101.cs.com 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 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!| ---------------------------------------------------------------------