Xref: news2.mv.net comp.os.msdos.djgpp:2339 From: kenmcmill AT cqm DOT co DOT uk (Alistair McMillan) Newsgroups: comp.os.msdos.djgpp Subject: Problem setting up DJGPP V2 Date: Mon, 01 Apr 1996 03:55:18 GMT Organization: Colloquium Lines: 101 Message-ID: <4jngfq$9b6@sow.colloquium.co.uk> NNTP-Posting-Host: mary_04.colloquium.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I have just downloaded and unzipped V2 to my computer, but I cant get it to do anything. When I try gcc -v -o ex1_2.exe ex1_2.C I get this response: Reading specs from d:/programming/djgppv2/lib\specs gcc version 2.7.2 d:/programming/djgppv2/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__= 2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS _DDJGPP=2 -DDJGP P_MINOR=0 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_M INOR__=0 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=0 ex1_ 2.C d:/programming/djgppv2/tmp\ccbaaaaa GNU CPP version 2.7.2 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2/include /usr/include End of search list. cpp.exe: d:/programming/djgppv2/tmp\ccbaaaaa: No such file or directory (ENOENT) I followed all the instruction on installing V2, and have checked the FAQ and the mailing list archive, but cant find any help. As suggested in the FAQ: The contents of ENVIRON.LST: TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM SOUND=C:\UTILITYS\SBAWE32 MIDI=SYNTH:1 MAP:E MODE:0 windir=C:\WINDOWS BLASTER=A220 I10 D3 H7 P330 T6 E620 PROMPT=$p$g PATH=C:\WINDOWS\COMMAND;D:\PROGRA~2\DJGPPV2\BIN DJGPP=D:/Programming/DjgppV2/djgpp.env CMDLINE=go32-v2 Running GO32-V2 without any arguments outputs this: go32/v2 version 2.0 built Jan 23 1996 22:03:02 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH. DPMI memory available: 3988 Kb DPMI swap space available: 3436 Kb My Autoexec.bat file : @echo off PROMPT $p$g set PATH=c:\windows\command;d:\Programming\DjgppV2\bin set DJGPP=d:\Programming\DjgppV2\djgpp.env doskey My Djgpp.env file: #= Don't edit this line unless you move djgpp.env outside #= of the djgpp installation directory. If you do move #= it, set DJDIR to the directory you installed DJGPP in. #= DJDIR=%:/>DJGPP% +USER=dosuser +TMPDIR=%DJDIR%/tmp +EMU387=%DJDIR%/bin/emu387.dxe +LFN=n [bison] BISON_HAIRY=%DJDIR%/lib/bison.hai BISON_SIMPLE=%DJDIR%/lib/bison.sim [cpp] CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx20/include C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/include OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc [gcc] COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib [info] INFOPATH=%/>;INFOPATH%%DJDIR%/info Can someone tell me what I'm doing wrong?