Date: Sun, 23 Aug 1998 17:16:01 +0300 (IDT) From: Eli Zaretskii To: "Patrick R. White" cc: djgpp AT delorie DOT com Subject: Re: DJGPP - General Protection Exceptions In-Reply-To: <35DB9617.541C@interaccess.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 19 Aug 1998, Patrick R. White wrote: > 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. Please describe the situation more accurately. Does GCC *always* crash for this specific source file convert.c? If it sometimes does manage to compile convert.c, please post the output of gcc -v during that successful compilation. Also, please post the contents of convert.c. > 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. This suggests a problem with long file names. Set LFN=y in the environment and try compiling then. Also, make sure you have the latest uploads of gcc281b.zip. Btw, cwsdpmi.exe is available in v2,isc/csdpmi4b.zip from the same place you get DJGPP.