Mail Archives: djgpp/1999/01/20/08:32:33
Eli Zaretskii wrote:
>
>On 19 Jan 1999, William Grainger wrote:
>
>> My intention was to use this CD in my 'ickle 'pooter[2] at home, which
>> hasn't got the hard-drive space for all this unzipped. But, whenever I try
>> to run go32_v2.exe I get an exception (after running cwsdpmi)
>
>First, don't run CWSDPMI (you don't have to, every DJGPP program will
>load it automatically).
>
>Second, please tell what drive letter is the CD where you put DJGPP.
>
CD is on E:
C: is a real hard drive, as is D:
>Third, please post the exact text of the message printed when go32-v2.exe
>crashes, complete with all the registers and stack traceback. This data
>is crucial for understanding the problem.
>
If I try to go32_v2.exe to run when on the CD-ROM from DOS I get the No
DPMI error message. (CWSDPMI was not on the CD). When I run CWSDPMI -P (to
load as a TSR), and then try and run go32_v2.exe, I get
Exiting due to signal SIGSEGV
Page fault at eip=00003fb3, error = 0004
eax=00055060 ebx=00054215 ecx=00000003 edx=00054220 esi=00000000
edi=00003f4b ebp=000540d4 esp=000540b0
cs=0167 ds=016f es=016f fs=014f gs=017f ss=016f
call frame traceback EIPS
0x00003fb3
0x0000438e
0x00004f2e
0x000063d3
0x0000251a
0x00003333
I get the same behaviour when I copy CWSDPMI and go32_v2 to the same
directory on the harddrive and type go32_v2 without invoking cwsdpmi (your
first point)
Interestingly, if I try and run go32_v2 on the harddisk from a Win95 DOS
box (not trying to run cwsdpmi first), I get the following output
c:\tryit\>go32_v2
c:\tryit\>
ie the program runs, writes nothing to the terminal, and exits normally.
>Fourth, if you copy cwsdpmi.exe and go32-v2.exe to your hard disk, does
>this prevent go32-v2 from crashing?
>
>> gcc hiworld.c (when run in a directory on the harddrive)
>>
>> also raises an exception?
>
>What happens if you run gcc in a directory on your hard disk?
>
I tried it again last night, and couldn't get it to raise the exception
(as go32_v2 is doing above). Instead I get
C:\learningc>gcc c:trivial.c
gcc.exe: installation problem, cannot exec `cpp': No such file or
directory
(ENOENT)
As far as I remember (although I don't remember the numbers) the gcc crash
on Sunday night was the same as the go32_v2 crash.
Some more details:
My envirnoment (from a Win95 dos box)
PROMPT=$P$G
winbootdir=C:\WINDOWS
COMSPEC=C:\COMMAND.COM
TMP=c:\tmp
TMPDIR=c:\tmp
TEMP=c:\tmp
BLASTER=a220 i7 d1 t4
PATH=C:\DOS;C:\UTILS;C:\UTILS\VPIC2;E:\DJGPP\BIN
DJGPP=e:\djgpp\djgpp.env
windir=C:\WINDOWS
My DJGPP.ENV file is untouched from the zip file, but just in case...
#= 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;%DJDI
R%/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/obj
c
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;%DJDIR%/gnu/emacs/info
INFO_COLORS=0x1f.0x31
[emacs]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
[less]
LESSBINFMT=*k<%X>
LESSCHARDEF=8bcccbcc12bc5b95.b127.b
LESS=%LESS% -h5$y5$Dd2.0$Du14.0$Ds4.7$Dk9.0$
[locate]
+LOCATE_PATH=%DJDIR%/lib/locatedb.dat
[ls]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.t
gz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.g
z=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:
*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;3
7:*~=08:*.bak=08:
[dir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.t
gz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.g
z=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:
*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;3
7:*~=08:*.bak=08:
[vdir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.t
gz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.g
z=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:
*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;3
7:*~=08:*.bak=08:
Many thanks
Will
- Raw text -