Date: Tue, 07 Mar 1995 00:55:47 -0500 (EST) From: BRANNON AT HAL DOT HAHNEMANN DOT EDU Subject: DJGPP C++ Segmentation Violation To: djgpp AT sun DOT soe DOT clarkson DOT edu I have a DEC 386 Laptop Running DOS 6.22. I get the following error message when attempting to compile a very small C++ program (and the same error when compiling djgpp\samples\sort): Segmentation violation in pointer 0x0035401c at d8:6774d eax=0001b041 ebx-001a3cc0 ecx-001b0414 edx-0000005f esi=00000001 edi=00353fc4 ebp=7ffff6cc esp=7ffff65c cs=d8 ds=48 es=48 fs=48 gs=48 ss=48 cr2=0000401c Call Frame Traceback EIP's 0x0006774d 0x00065a5c 0x0004922c 0x000768f2 0x0004edf3 0x00034547 0x00071ddb AUTOEXEC.BAT LOOKS LIKE THIS: lh /l0,2,45456 /s c:\dos\smartdrv.exe /x @echo off prompt $p$g path c:=bat;c:\djgpp\bin set temp=c:\dops vgamore w1 doskey set djgpp=c:/djgpp/djgpp.env set tmpdir=c:/tmp set go32tmp=c:/tmp set go32=topline emu c:\djgpp\contrib\emu387wm\emu387 prompt $e[7m$p$g CONFIG.SYS LOOKS LIKE THIS: device=c:\dos\himem.sys device=c:\dos\emm386.exe noems device=c:\dos\interlnk.exe device=c:\dos\ansi.sys buffers=15,0 files=30 dos=umb lastdrive=e fcbs=4,0 devicehigh /l:3,12048 =c:=dos\setver.exe dos=high stacks=9,256 shell=c:\command.com c:\ /e:1000 /p TYPING GO32 at the command line yields: go32 version 1.12.main3 lowest version I can run is 1.08 XMS memory available: 0 kb swap space available: 4564 kb TYPING SET at the command line yields: comspec=c:\command.com temp\c:\dos djgpp=c:/djgpp/djgpp.env tmpdir=c:/tmp go32tmp=c:/tmp go32=topline emu c:=djgpp\contrib\emu387wm\emu387 prompt=$e[7m$p$g Brannon, Terrence BRANNON AT hal DOT hahnemann DOT edu