Mail Archives: djgpp/1994/07/22/18:17:58
I have just installed djgpp on a Compaq/386/Deskpro. Everything seems
to work fine, except that make crashes. Sometimes when make crashes,
further attempts to run programs under go32 lock up the PC. (I think.)
Sometimes go32 continues to run fine. (Maybe make is a red herring; but
go32 *does* sometimes lock up the PC.)
The PC is running under the MKS tools, so there is no AUTOEXEC.BAT.
Following are the checksum (BSD style) for make.exe, CONFIG.SYS, the
output of set, and a sample run up the point where the PC often locks
up, including the crash info from make.
I could rebuild make under -g and get more info; but I'm lazy. Does
anyone have a clue?
Many Thanks:
Jonathan Ryshpan <jon AT halsp DOT hitachi DOT com>
===============> I write for myself ONLY. <===============
-------------------------- Sum make.exe --------------------------
c:/dj/samples/hello> sum -r c:/dj/bin/make.exe
19235 238 c:/dj/bin/make.exe
--------------------------- CONFIG.SYS ---------------------------
c:/>cat config.sys
REM DEVICE=C:\BC\CE.EXE
DOS=HIGH,UMB
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\DOS5\EMM386.EXE x=d000-d200 4096 ram
files=30
buffers=25
stacks=9,256
DEVICEHIGH=C:\DOS5\SETVER.EXE
DEVICEHIGH=C:\WINDOWS\RAMDRIVE.SYS 2048 /e
DEVICEHIGH=C:\NET\SPRY\PROTMAN.DOS /I:C:\NET\SPRY
DEVICEHIGH=C:\NET\SPRY\DRIVERS\MACWD.DOS
DEVICEHIGH=C:\NFS\PCNFS.SYS /f30
DEVICEHIGH=C:\NFS\SOCKDRV.SYS
DEVICEHIGH=C:\NET\SPRY\NFS-NDIS.SYS
REM DEVICEHIGH=C:\NFS\WD8003E.SYS /i3
DEVICEHIGH=C:\MOUSE\MOUSE.SYS
DEVICE=C:\BIN\NNANSI.COM
DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER
REM DEVICE=C:\DOS5\ANSI.SYS
lastdrive h
break=on
shell=c:\mks\bin\sh.exe -L -0 c:/mks/bin/sh.exe -R 0
--------------------------- Output of set ---------------------------
c:/dj/samples/hello> set
@=""
BISON_HAIRY="c:/dj/lib/bison.hairy"
BISON_SIMPLE="c:/dj/lib/bison.simple"
COMPILER_PATH="c:/dj/bin"
COMSPEC="C:/COMMAND.COM"
CPLUS_INCLUDE_PATH="c:/dj/cplusinc;c:/dj/include"
C_INCLUDE_PATH="c:/dj/include"
DEMACS_KEEP="1024"
DJ="c:/dj"
EMACSEXECPATH="c:/src/demacs/etc"
EMACSLOADPATH="c:/src/demacs/lisp"
ENV="c:/mks/environ.ksh"
ERRNO="2"
FCEDIT="c:/mks/bin/vi"
FLEX_SKELETON="c:/dj/lib/flex.skeleton"
GO32=""
GO32TMP="d:"
HELPFILES="c:\\c600\\help\\*.hlp"
HOME="c:/."
IFS="
"
INCLUDE="c:\\c600\\include"
INFOPATH="c:/dj/docs;c:/dj/docs/djgpp"
INIT="c:\\c600\\init"
LANG="po"
LESSHELP="c:/lib/less.hlp"
LIB="c:\\c600\\lib"
LIBRARY_PATH="c:/dj/lib"
LINENO="0"
MAILCHECK="600"
MANPATH="c:/mks/etc"
MRI_H83_BIN="c:/mri83/mcc/;c:/mri83/asm/"
MRI_H83_INC="c:/mri83/mcc/"
MRI_H83_LIB="c:/mri83/mcc/"
MRI_H83_TMP="d:"
MRI_H85_BIN="c:/mri85/mcc/;c:/mri85/asm/"
MRI_H85_INC="c:/mri85/mcc/"
MRI_H85_LIB="c:/mri85/mcc/"
MRI_H85_TMP="d:"
NFSDRIVE="C"
NFSPATH="C:/NFS"
NLSPATH="c:/mks/nls/%l/mks001.nls"
OBJCPLUS_INCLUDE_PATH="c:/dj/include;c:/dj/include/objc"
OBJC_INCLUDE_PATH="c:/dj/include;c:/dj/include/objc"
OLDPWD="c:/"
OPTIND="1"
PATH=".;c:/bin;c:/dj/bin;c:/mks/bin;c:/bat;c:/nfs;c:/windows;c:/dos5;c:/c600/bin;c:/c600/binb;c:/c600/masm;c:/tc/bin;c:/tc/tasm;c:/tc/td;c:/tc/tprof;c:/mri83/asm;c:/mri83/mcc;c:/mri83/xhs;c:/mri85/asm;c:/mri85/mcc;c:/mri85/xhs"
PPID="0"
PROCOMM="c:/procomm"
PS1="\$PWD>"
PS2="> "
PS3="#? "
PS4="+ "
PWD="c:/dj/samples/hello"
RANDOM="247"
ROOTDIR="c:/."
SECONDS="144"
SHELL="c:/mks/bin/sh.exe"
SWITCHAR="/"
TEMP="d:"
TERM="ibmpc"
TERMCAP="c:/etc/termcap"
TMP="d:"
TMPDIR="d:"
TZ="PST0PDT"
USER="jon"
XRAYLIB="c:/lib/"
XRAYTMP="d:"
_="setit.out"
describe="c:/lib/jove.doc"
ha="c:/proj/xraydev/xhvh85/ase"
hm="c:/proj/xraydev/xhvh85/mon"
joverc="c:/lib/jove.rc"
na="c:/proj/h85-var/ase"
nm="c:/proj/h85-var/mon"
ns="c:/proj/h85-var/src"
oa="c:/proj/h85-jon/src"
v="c:/src/xhvh85"
--------------------------- Sample Run ---------------------------
c:/dj/samples/hello>make
Segmentation violation in pointer 0x80000000 at d8:5eeb
eax=00025004 ebx=7ffff844 ecx=00000000 edx=80000000 esi=7ffff844 edi=7ffff83c
ebp=7ffff81c esp=7fffef88 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=00000000
c:/dj/samples/helloall frame traceback EIPs:
0x00005eeb
c:/dj/samples/hello>echo Running go32 to get system information
Running go32 to get system information
c:/dj/samples/hello>go32
go32 version 1.11.maint5 Copyright (C) 1993 DJ Delorie
Lowest version I can run is 1.08
go32.exe usage: go32 [-d {debugger}] [{program} [{options} . . . ]]
go32.exe build time was Sun May 01 17:42:22 1994
VCPI (Expanded) memory available: 4096 Kb
Swap space available: 2040 Kb
c:/dj/samples/hello>echo Compiling a program
c:/dj/samples/hello>Compiling a program
c:/dj/samples/hello>gcc -v hello.c -o hello
Reading specs from c:/dj/lib/specs
gcc version 2.5.7
c:/dj/bin/cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=5 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS hello.c d:/cc000074
GNU CPP version 2.5.7 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/dj/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.5.7/include
/usr/include
End of search list.
- Raw text -