delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/13/11:34:23

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP! "invalid page exception"??
Date: Mon, 13 Sep 1999 12:32:43 +0200
Organization: NetVision Israel
Lines: 43
Message-ID: <Pine.SUN.3.91.990913123223.8713K-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>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 937218691 1825 199.203.121.2 (13 Sep 1999 10:31:31 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 13 Sep 1999 10:31:31 GMT
X-Sender: eliz AT is
In-Reply-To: <37D7B0BD.DE998100@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 Thu, 9 Sep 1999, Tony Welsh wrote:

> My only thought is the last command line - is the last backslash the problem
> as the rest are UNIX style (on MSDOS?) .

No, DJGPP handles both forward and backslashes alike.

> C:\djgpp\src>gcc -c -v chap01_1.c
> Reading specs from c:/djgpp/lib/specs
> gcc version 2.95 19990728 (release)
>  c:/djgpp/lib/gcc-lib/djgpp/2.95/cpp.exe -lang-c -v -isystem
> c:/djgpp/bin/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dunix -Di386 -DGO32
> -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
> -D__DJGPP__=2 -D__DJGPP_MINOR__=2 -D__unix -D_i386 -D__GO32 -D__MSDOS
> -D__DJGPP=2 -D__DJGPP_MINOR=2 chap01_1.c c:/djgpp/tmp\ccnTHF0i.i

This indicates that the program which crashes is cpp.exe.  Is that
what Windows says in the message that it pops up?

Do you see the temporary file (c:/djgpp/tmp\ccnTHF0i.i in this case)
on disk after the crash?

Please invoke the preprocessor manually, like shown below, and see if
it works:

  c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp -lang-c -isystem c:/djgpp/bin/include
    chap01_1.c c:/djgpp/tmp\ccnTHF0i.i

Note: this is all one long line!

Please also try this command and tell what it produces:

  go32-v2 c:/djgpp/bin/gcc.exe -v

> I wouldn't think that a virus scanner would interfere with a
> compile, I could understand if the program was running and doing
> some low level commands and then it fails, but not a compile.

Antivirus sits on the Windows program invocation chain and checks
every program that is invoked.  So it could interfere with program
invocation, especially since DJGPP programs are not real-mode DOS
executables.

- Raw text -


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