| delorie.com/archives/browse.cgi | search |
| Date: | Tue, 13 Apr 1999 10:23:44 -0700 (PDT) |
| From: | MATTHEW WENG <mweng AT cory DOT EECS DOT Berkeley DOT EDU> |
| To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Executables don't run in DOS |
| In-Reply-To: | <Pine.SUN.3.91.990411141330.28502Y-100000@is> |
| Message-ID: | <Pine.OSF.3.96.990412200455.763A-100000@octans.EECS.Berkeley.EDU> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
I have the source code for the hello program I used to test djgpp and the
autoexec.bat and config.sys files on the machine.
Thanks,
Matthew Weng
----------------------------
HELLO.CPP:
#include <iostream.h>
int main(){
cout << "Hello Universe!" << endl;
}
----------------------------
AUTOEXEC.BAT:
C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
PATH C:\DOS;C:\TEMP;C:\DJGPP\BIN;
SET TEMP=C:\DOS
SET DJGPP=C:\DJGPP\DJGPP.ENV
----------------------------
CONFIG.SYS:
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
DOS=HIGH
FILES=40
shell=c:\dos\command.com c:\dos /e:2048 /p
fcbs=40,0
----------------------------
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |