Date: Mon, 22 May 1995 23:51:13 +0800 From: Shri Rai Apparently-To: djgpp AT sun DOT soe DOT clarkson DOT edu I am having some problems using djgpp. Can anyone point out to me what I am doing wrong and what I can do to fix the problem(s)? I downloaded DJ Delorie's GCC port to Dos (djgpp) and installed it on my machine. I also installed all the bugfixes upto the fourth bugfix. I was unable to run the batch files which came with the maintainence releases. This was because the "ar" program could not run. The error messages produced are included in this file. The installation was done according to the procedure specified in the readme file that came with djgpp. I have been unable to use the compiler. The machine configuration and the error messages are shown below. If the current version will not run on my 386 machine, are there any older or newer versions which will? Thank you for any help. Some of the files installed were: djeoe112.zip djdev112.zip gcc263bn.zip bnu252bn.zip djdoc112.zip txi310bn.zip gpp263.zip djemu112.zip djlgr112.zip lgp262bn.zip as well as the maintainance releases: dj112m1.zip, dj112m2.zip, dj112m3.zip, dj112m4.zip The machine information: processor: AMD 386sx/sxl 20 200 Mb hard disk 2 Mb Ram ega card with monochrome monitor The environment variables are: COMSPEC=C:\COMMAND.COM PROMPT=$p$g TEMP=c:\temp PATH=C:\BAT;C:\BIN;C:\UNIXBIN;C:\DOS;C:\FPROT;C:\DJGPP\BIN DJGPP=C:/djgpp/djgpp.env TMPDIR=c:/tmp GO32TMP=C:/tmp GO32=2rm 2r1 The commands and the corresponding error messages are shown below: gcc hello.c Unsupported INT 0x06 Invalid Opcode at eip=bcc7 eax=2fc11bd0 ebx=7ffffd7c ecx=00000000 edx=7ffff950 esi=7ffff9d8 edi=0000bbbb ebp=7ffffd58 esp=7ffff9bc cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=0000ed80 Call frame traceback EIPs: 0x0000bcc7 0x0000c318 0x0000c3ab 0x00004450 0x000094fe ar Unsupported INT 0x06 Invalid Opcode at eip=1feaf eax=000000ff ebx=7fffee55 ecx=00024388 edx=7fffee54 esi=7ffffe64 edi=00000fff ebp=7fffee38 esp=7fffda78 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=0000da80 Call frame traceback EIPs: 0x0001feaf 0x0001cbc8 0x00001589 go32 go32 version 1.12.maint3 Copyright (C) 1994 DJ Delorie Lowest version I can run is 1.08 go32.exe usage: go32 [-d {debugger}] [{program} [{options} . . . ]] go32.exe build time was Sun Dec 18 16:36:42 1994 XMS memory available: -4 Kb Swap space available: 131040 Kb info Unsupported INT 0x06 Invalid Opcode at eip=1739a eax=7ffffd2d ebx=00007ffe ecx=0001045c edx=0000002d esi=00031005 edi=7ffffda8 ebp=7ffffd70 esp=7ffffba4 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=00001000 Call frame traceback EIPs: 0x0001739a 0x00016889 0x0001065a 0x0000fe67 0x0000a458 0x0000a093 0x00009e07 0x000060fa cc1 Segmentation violation in pointer 0x0046e66c at d8:b4cd5 eax=0011b98c ebx=0000003c ecx=0011c0e4 edx=0000012c esi=0011c0d4 edi=00000005 ebp=7ffffe78 esp=7ffffe38 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=0000e66c Call frame traceback EIPs: 0x000b4cd5 0x0002c623