From: "Patrick R. White" Newsgroups: comp.os.msdos.djgpp Subject: DJGPP - General Protection Exceptions Date: Wed, 19 Aug 1998 22:20:55 -0500 Organization: http://www.supernews.com, The World's Usenet: Discussions Start Here Lines: 42 Message-ID: <35DB9617.541C@interaccess.com> Reply-To: patwhite AT interaccess DOT com NNTP-Posting-Host: 207.208.137.68 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk C:\Program Files\Bin>gcc -v Reading specs from d:/djgpp/lib/specs gcc version 2.8.1 C:\Program Files\Bin>dir con* Volume in drive C has no label CONVERT C 551 08-14-98 11:34pm convert.c C:\Program Files\Bin>gcc convert.c -o convert.exe_ Approximte MS DOS box contents: ------------------------------------------------------------------------ MS DOS Prompt This program has performed an illegal operation and will be terminated. Quit all programs, and then restart your computer. The program encountered a general protection exception. Fault location: 0297:0044 Interrupts in service: 1 ------------------------------------------------------------------------ One time gcc -v works and then it crashes trying to compile a small C program like above. Somtimes it crashes on the -v line without reading the environment file while other times it seems to read it and stop after printing out 'gcc version 2.8.1' or not, it isn't even consistent. I've checked that I have installed all the required executables according to the readme.1st. If I reboot only to DOS, I can compile it but I can't run it because I don't have access to the Cwsdpmi.exe program. I try running autoexec.bat to get the proper path but Win95 doesn't allow any changes to its limited DOS environment. I don't care though because I'd rather run it in a DOS window anyway. This is an approximate image of a bitmap I included in previous article. Any ideas? TIA Patrick