From: "Christian von Schultz" Newsgroups: comp.os.msdos.djgpp References: <37B653F5 DOT 39EC AT xtra DOT co DOT nz> Subject: SV: DJGPP Compiler Lines: 89 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Sun, 15 Aug 1999 12:59:31 GMT NNTP-Posting-Host: 195.67.248.129 X-Complaints-To: abuse AT telia DOT com X-Trace: newsa.telia.net 934721971 195.67.248.129 (Sun, 15 Aug 1999 14:59:31 CEST) NNTP-Posting-Date: Sun, 15 Aug 1999 14:59:31 CEST Organization: Telia Internet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Bruce.Woods wrote... > 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 > ***************************************************** Strange. Try not spesify the target. Just: gcc filename.c If that works, you should have an a.out - file and, perhaps, an a.exe - file. ***************************************************** > 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 > **************************************************** DJGPP programs needs a DPMI server. It is included in windows. There is a DPMI server for dos in a file called csdpmi*b.zip. (* is a number) **************************************************** > 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% >