From: Vedeesh Sahajpal Date: Thu, 26 Dec 1996 20:54:03 +0100 Message-Id: <9612261954.AA11715@skarv.ii.uib.no> To: djgpp AT delorie DOT com Thanks for reply! I once more describe my problem. I installed djgppV2 supposedly taking all right steps as mentioned in the readme1st. But when i tried compiling a simple program using "gcc hello.cc" command i get "cannot exec go32" message. I am enclosing with this mail all error messages which i get and also the contents of autoexec.bat file etc. , as suggested by the faq. Presently , I don't have the actual output from C:\DJGPP\MANIFEST dir. but here are all the files which I downloaded from a ftp site(probably NOT simtel) after reading the guidelines mentioned in faq(chap. 4 - "what files to download ?"). As I have now found out, versions mentioned in the faq (chap. 4 - "what files to download"), DON't tally exactly with the versions as mentioned in djgpp/v2/readme1st file. As I mentioned before, I followed faq(not readme1st) for downloading. The versions of the zip files I have may not be therefore correct, I suppose. /* list of zip files i downloaded */ bnu252bn.zip djgppfaq.info gcc272b.zip manifest/ txi360b.zip bnu27b.zip djtst200.zip gdb412b.zip obc272b.zip csdpmi3b.zip docs/ gpp272b.zip pmode11b.zip diffs/ lgp271b.zip readme.1st ------------------------------------------------- For unzipping the files I used 'winzip' software taking care that directory structure is preserved. Here below I am enclosing other imp. details. Hope someone will reach me again with exact diagnosis :). Thanks again for the help. /* here is the output obtained on using */ /* "redir -e err gcc -v -o hello hello.cc" command */ Reading specs from c:/djgpp/lib\spec gcc version 2.7.2 c:/djgpp/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 -DDJGPP_MINOR=0 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=0 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=0 hello.cc c:\dos\ccbaaaaa GNU CPP version 2.7.2 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/cxx c:/djgpp/include c:/djgpp/contrib/grx20/include /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. c:/djgpp/bin\cc1plus.exe c:\dos\ccbaaaaa -fno-strength-reduce -fno-strength-reduce -quiet -dumpbase hello.cc -version -o c:\dos\cccaaaaa GNU C++ version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2. c:/djgpp/bin\as.exe -o c:\dos\ccdaaaaa c:\dos\cccaaaaa Cannot exec go32 ----------------------------------- /* This is how autoexec.bat looks like */ @ECHO OFF PROMPT $p$g set DJGPP=c:\djgpp\djgpp.env PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\TYJAVA\JDK\BIN;c:\djgpp\bin; SET TEMP=C:\DOS set TMPDIR=c:\dos rem - By Windows Setup - C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 /M:15 /V mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi) mode con codepage select=850 keyb no,,C:\WINDOWS\COMMAND\keyboard.sys ------------------------------------------------- /* this is djgpp.env file in c:/djgpp/ which is the root dir. for djgpp/v2 */ #= 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 -------------------------------------------------------- /* this is the message i get on standard output(ie., on my screen) */ /* when i use "gcc hello.cc" or "gcc -o hello hello.cc" command */ Cannot exec go32 ---------------------------------- /* the result obtained on executing 'go32-v2' (without arguments) */ /* go32-v2.exe file resides in c:/djgpp/bin/ sub dir. */ 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: 10684 Kb DPMI swap space available: 10572 Kb ------------------------------------------------------ /* copy of environ.lst; this file placed in c:/ dir. */ TMP=C:\WINDOWS\TEMP winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM PROMPT=$p$g DJGPP=c:\djgpp\djgpp.env PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\TYJAVA\JDK\BIN;C:\DJGPP\BIN; EMU=c:\djgpp\bin\emu387.dxe 387=n TEMP=C:\DOS TMPDIR=c:\dos windir=C:\WINDOWS BLASTER=A220 I10 D3 H7 P330 T6 CMDLINE=gcc hello.c ----------------------------------- /* here is config.sys file */ DEVICE=C:\WINDOWS\SETVER.EXE DEVICE=C:\WINDOWS\HIMEM.SYS DOS=HIGH DEVICE=C:\SB\SBCD\SLCD.SYS /B:230 /D:MSCD001 /V /K /M:P FILES=40 device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1) Country=047,850,C:\WINDOWS\COMMAND\country.sys -------------------------------------------------