From: "Florian X" Newsgroups: comp.os.msdos.djgpp References: <38E60709 DOT DCA794D2 AT mindspring DOT com> Subject: Re: Question about DJGPP for DOS Date: Sat, 1 Apr 2000 16:29:50 +0200 X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Lines: 25 Message-ID: <38e607b6$0$28656@SSP1NO17.highway.telekom.at> NNTP-Posting-Host: 212.183.89.139 X-Trace: newsreader.vienna.highway.telekom.at 954599350 28656 212.183.89.139 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com james archer schrieb in Nachricht <38E60709 DOT DCA794D2 AT mindspring DOT com>... >I'm a newbie to DJGPP, so this might be a stupid question. :o) > >I'm trying to compile a shell I've written for DOS. It compiles fine, >but when I try to replace command.com with the generated executable, it >tells me that it can't run in DOS mode. I went to delorie and >downloaded the zip that has the progs for letting me run it, but in >order to use those, I have to run them before running my executable. >This means that I can't run my executable as a shell because I have to >start command.com and run this other program first. Did you download CWSDPMI ? If yes, you don't need to start this before your command, it should be only in the same directory. Of if you have Lineo Dr-DOS installed, switch DPMI on. (DOS protected mode interface, so the programs can use all the rams.) > >Is it because I compiled it on a Windows machine, and then tried to move >the program to a DOS box? Or does DJGPP just not handle old-school DOS? >