Message-ID: <37E203F4.496C6106@this.newsgroup> From: Tony Welsh X-Mailer: Mozilla 4.61 [en]C-NECCK (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP! "invalid page exception"?? References: <37D534CD DOT 9FE72805 AT this DOT newsgroup> <37D6B63A DOT 68278B19 AT this DOT newsgroup> <37D7B0BD DOT DE998100 AT this DOT newsgroup> <37DF937D DOT 28220E2D AT this DOT newsgroup> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 17 Sep 1999 10:03:48 +0100 NNTP-Posting-Host: 195.44.17.93 X-Trace: news2-hme0 937559179 195.44.17.93 (Fri, 17 Sep 1999 10:06:19 BST) NNTP-Posting-Date: Fri, 17 Sep 1999 10:06:19 BST Lines: 74 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > On Wed, 15 Sep 1999, Tony Welsh wrote: > > > > Do you see the temporary file (c:/djgpp/tmp\ccnTHF0i.i in this > > > case) on disk after the crash? > > > > Yes, and it is blank, size 0 bytes. > > This is expected if cpp and gcc are aborted by Windows. > > > C:\djgpp\src>c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp -lang-c -isystem > > C:/djgpp/include > > chap01_1.c c:/djgpp/tmp\cc3CiKyf.i > > (a file from this morning that crashed as normal with an option 'c') > > > > both execute without errors or for that matter any error messages, it just > > returns to the prompt after execution. > > So the problem only happens when cpp is invoked from GCC, or from > another DJGPP program... Hmmm... > > Please try the same invocation of cpp, but this time from go32-v2. > That is, prepend "go32-v2" to the above command line when you type it > at the prompt. Does this work or does it crash? It appears to hang, that is is does not create any error messages but does not give me a prompt back either... Given this is a P3 550 I don't think that it should take this long to do a file that short... Bizarrly it feels like a loop of some kind, as if I CTRL-C and hit return I can get a prompt prompt back after this message. ^C Exiting due to signal SIGINT INTR key Pressed at eip=00022be4 == Microsoft(R) Windows 98 (C)Copyright Microsoft Corp 1981-1998. C:\djgpp>cd src C:\djgpp\src>go32-v2 c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp -lang-c -isystem C:/djgpp/include go32/v2: Error: c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp: No such file or directory (ENOENT) C:\djgpp\src>go32-v2 c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp.exe -lang-c -isystem C:/djgpp/include == > > I notice that after these are > > executed, the temporary file mentioned is filled with what looks like the > > original source code but without any non-executable lines... (see > > cc3CiKyf.i and chap01_1.c attached). > > Which is I assume preprocessing > > Yes, this is how the preprocessor should work. > > Btw, did you edit your djgpp.env file in any way? Also, what version > of the specs file (in the DJGPP's lib subdirectory) are you using--the > one from djdev202.zip or the one from gcc295b.zip? I ran down the list of zips uncompressing them in the stated order. DJDEV202.ZIP is before GCC295.ZIP in the zip-picker list, so it would be the GGC specs that were the last to be decompressesd. And I haven't edited the .env file, everything looked fine, the long filename option was set to Y so I didn't see the need to meddle.