From: "Debbie & David Rees" Subject: Installation problem: Illegal operaition - please help Newsgroups: comp.os.msdos.djgpp Message-ID: <01be5939$aa511100$e7e5abc3@david> X-Newsreader: Microsoft Internet News 4.70.1161 Lines: 112 Date: Mon, 15 Feb 1999 23:18:52 GMT NNTP-Posting-Host: 195.171.229.231 X-Trace: news-reader.bt.net 919120732 195.171.229.231 (Mon, 15 Feb 1999 23:18:52 BST) NNTP-Posting-Date: Mon, 15 Feb 1999 23:18:52 BST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I have just installed djgpp, and after reading through the FAQ, and searching the website I have been unable to solve my problems getting anything running. If someone could help point me in the right direction I would be very grateful. I am running Windows 95 on an IBM thinkpad, and trying to invoke things from a DOS box. I have unzipped the following files using WinZip to d:\djgpp COPYING DJ 2,044 14/02/99 5:46 copying.dj DJDEV202 ZIP 1,423,123 14/02/99 6:56 djdev202.zip FAQ211B ZIP 563,209 14/02/99 6:08 faq211b.zip README 1ST 14,055 14/02/99 5:47 readme.1st RHIDE14B ZIP 1,716,944 14/02/99 6:59 rhide14b.zip BNU281B ZIP 1,896,445 14/02/99 6:24 bnu281b.zip GCC281B ZIP 1,338,210 14/02/99 6:22 gcc281b.zip GPP281B ZIP 1,289,166 14/02/99 6:21 gpp281b.zip LGP2811B ZIP 596,811 14/02/99 6:07 lgp2811b.zip MAK377B ZIP 247,613 14/02/99 5:59 mak377b.zip TXI312B ZIP 511,216 14/02/99 6:10 txi312b.zip Usually, when I run gcc, rhide, make, etc. I get a windows dialog box pop up with the following message This program has performed an illegal operation and will be terminated. Quit all programs, and then restart your computer. If the program consitently encounters problems, click the Start button then select Help, Troubleshooting, and 'If you have trouble running MS-DOS programs' If I click on Detail>>, then I *always* get the following message The program encountered a general protection exception Fault location: 024F:0044 Interrupts in service: 1 When I say I usually get this error, running a command line of just "gcc" will very occaisionally succeed. It gives a sensible message, saying something like no input file given. Unfortunately I can't get it to run tonight to repeat the message. I have never got rhide or make to work. Whenever this crash occurrs, the rest of my PC becomes decidedly unhealthy. I can't even shut it down - I have to reset it. As per the FAQ, here is my environment TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM DJGPP=d:\DJGPP\DJGPP.env PATH=D:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\THINKPAD;C:\CARDWORK windir=C:\WINDOWS BLASTER=A220 I5 D1 T4 Here is the output from running go32-v2 go32/v2 version 2.0 built Nov 15 1998 14:36:43 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 but do not delete your old go32 - leave it in the PATH after this one. Set GO32_V2_DEBUG=y in the environment to get verbose output. DPMI memory available: 27059 Kb DPMI swap space available: 17585 Kb Here is my autoexec.bat @ECHO OFF SET PATH=C:\THINKPAD;C:\CARDWORK SET BLASTER=A220 I5 D1 T4 REM The following line must be REMed in order to disable hibernation file generation. C:\THINKPAD\PS2 HFILE C mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi) mode con codepage select=850 keyb uk,,C:\WINDOWS\COMMAND\keyboard.sys REM DJGPP settings set DJGPP=d:\DJGPP\DJGPP.env set PATH=d:\DJGPP\bin;%PATH% Here is my config.sys DOS=HIGH,UMB DEVICE=C:\WINDOWS\HIMEM.SYS DEVICE=C:\WINDOWS\EMM386.EXE NOEMS X=D000-D7FF DEVICE=C:\WINDOWS\CWBINIT.EXE /A rem SystemSoft CardWorks(TM) PCMCIA drivers: DEVICE=C:\CARDWORK\CARDXTND.SYS DEVICEHIGH=C:\CARDWORK\SSCBTI.SYS /NUMADA:1 /ADA1SKTS:2 DEVICEHIGH=C:\CARDWORK\CS.SYS /POLL:1 DEVICEHIGH=C:\CARDWORK\CSALLOC.EXE DEVICEHIGH=C:\CARDWORK\CARDID.SYS device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1) Country=044,850,C:\WINDOWS\COMMAND\country.sys Thankyou in advance for any help you give, David