From: "R.H." Newsgroups: comp.os.msdos.djgpp References: <37B653F5 DOT 39EC AT xtra DOT co DOT nz> Subject: Re: DJGPP Compiler Lines: 82 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Alternate Access Inc. Message-ID: <934759163.917048@cacheraq001> Cache-Post-Path: cacheraq001!unknown AT cust46 DOT max2 DOT seattle-k56 DOT aa DOT net NNTP-Posting-Date: Sun, 15 Aug 1999 18:20:33 CDT X-Trace: sv1-uBUByQ1SA05F8VrEs5Au04RTT1cp8kZj4j+AmI1LNt2PR9vs0QbWcMhiFst1qsUpqDYK4iA/KxZs5lc!66H2ZVM/X7c= X-Complaints-To: abuse AT GigaNews DOT Com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Sun, 15 Aug 1999 16:31:21 -0700 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com You have an error in your autoexec.bat where you SET DJGPP; go to the following link for information on how to set up your autoexec.bat. http://www.delorie.com/djgpp/doc/ug/intro/installing-djgpp.html -- Roger Bruce.Woods wrote in message news:37B653F5 DOT 39EC AT xtra DOT co DOT nz... > Hello, I am a student trying to learn how to use this compiler. My > problem is the following; > > I have been exe gcc from windows dos prompt and getting the following > error; gcc.exe filename no such file or directory (ENDENT) > gcc.exe: no input files > > The txt source files do exist and I am exe from > the directory that contains these files, checked spelling etc. > > gcc -o filename filename.c > > I have now tried restarting my pc in dos mode and doing the same. I get > the following error; load error: no DPMI - get csdpmi*b.zip > > I think the compiler is missing some files. > > environ.lst from c:\ dos prompt came up bad command > go32-v2 > DPMI memory available : 10391kb > DPMI swap space available 2725kb > > seems to change all the time > > Config.sys and Autoexec.bat attached > > Appreciate any help > > Regards > Bruce Woods > ---------------------------------------------------------------------------- ---- > Config.sys > > > DEVICE=C:\WINDOWS\ES1868.COM /A:168 /I:A > DEVICEHIGH=C:\PROGRA~1\NORTON~1\BIOSFIX.SYS +R +T > DEVICE=C:\WINDOWS\HIMEM.SYS > DEVICE=C:\WINDOWS\EMM386.EXE NOEMS > DOS=UMB > LASTDRIVE=M > DEVICEHIGH /L:1,12048 =C:\WINDOWS\SETVER.EXE > DOS=HIGH > rem ---------------------- MTM ATAPI CD-ROM ---------------------- > [COMMON] > DEVICEHIGH /L:1,16288 =C:\MTM\MTMCDAI.SYS /D:MTMIDE01 > rem ---------------------- MTM ATAPI CD-ROM ---------------------- > > AUTOEXEC.BAT > > C:\PROGRA~1\TRENDP~1.0\PCSCAN.EXE C:\ C:\WINDOWS\COMMAND\ /NS /WIN95 > C:\WINDOWS\ESSCFG.EXE /A:220 /I:5 /D:1 /B:330 /M:E /J:E > C:\WINDOWS\ESSVOL.EXE /V:8 /L:8 /W:8 /M:0 /C:8 /S:8 /A:8 > C:\WINDOWS\3DSOUND.EXE /A:220 /S:E > rem ---------------------- MTM ATAPI CD-ROM ---------------------- > LH /L:1,36224 C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MTMIDE01 /M:10 > rem ---------------------- MTM ATAPI CD-ROM ---------------------- > @ECHO OFF > PROMPT $p$g > SET PATH=C:\PTW32\BIN;C:\BITWARE\;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS > SET TEMP=C:\DOS > SET DJGPP=C:\DJGPP\DJGPP.ENV > SET PATH=C:\DJGPP\BIN;%PATH% >