delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/16/14:45:26

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP! "invalid page exception"??
Date: Thu, 16 Sep 1999 13:12:17 +0200
Organization: NetVision Israel
Lines: 36
Message-ID: <Pine.SUN.3.91.990916131019.7952B-100000@is>
References: <37D534CD DOT 9FE72805 AT this DOT newsgroup> <Pine DOT SUN DOT 3 DOT 91 DOT 990908103147 DOT 21899I-100000 AT is> <37D6B63A DOT 68278B19 AT this DOT newsgroup> <Pine DOT SUN DOT 3 DOT 91 DOT 990909092000 DOT 6646I-100000 AT is> <37D7B0BD DOT DE998100 AT this DOT newsgroup> <Pine DOT SUN DOT 3 DOT 91 DOT 990913123223 DOT 8713K-100000 AT is> <37DF937D DOT 28220E2D AT this DOT newsgroup>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 937480266 11079 199.203.121.2 (16 Sep 1999 11:11:06 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 16 Sep 1999 11:11:06 GMT
X-Sender: eliz AT is
In-Reply-To: <37DF937D.28220E2D@this.newsgroup>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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?

> 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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019