delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/08/19:40:32

Message-ID: <37D6B63A.68278B19@this.newsgroup>
From: Tony Welsh <reply DOT here AT this DOT newsgroup>
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> <Pine DOT SUN DOT 3 DOT 91 DOT 990908103147 DOT 21899I-100000 AT is>
Lines: 106
Date: Wed, 08 Sep 1999 20:17:14 +0100
NNTP-Posting-Host: 195.44.20.241
X-Trace: news2-hme0 936818565 195.44.20.241 (Wed, 08 Sep 1999 20:22:45 BST)
NNTP-Posting-Date: Wed, 08 Sep 1999 20:22:45 BST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> FWIW, the offsets of the fault location seem like parts of ASCII text
> (the first one is "IPMO", the second "ELLO").
>
> > v2gnu/gcc295b.zip    Basic GCC compiler            1.7 mb
> > v2gnu/gpp295b.zip    C++ compiler                  1.6 mb
> > v2gnu/lgp2811b.zip   C++ libraries                 583 kb
>
> This is a mistake: you need lgpp295b.zip.  lgp2811b.zip does not
> belong to GCC 2.95, it's from an older version of the compiler.
> Mixing versions generally means trouble.  (But I don't think it is the
> reason for the crashes.)

Noted, I will grab the newer version when I get the chance.  Weird since the CGI
script listed the older one...

> AUTOEXEC.BAT seems to be okay.  Are you sure this is the correct AUTOEXEC.BAT?  On
> Windows 98 it can be tricky to find the right one.  The instructions of the
> zip-picker tell you how to find it; please make sure this is the file whose
> contents you post.

I know this is the file that's Exec'ed as I start up windows because if i type "SET"
at the DOS box prompt it lists:

(BTW I followed the zip pick guide and it gave me the same file, the DOS box is on
the standard -ie system- configuration. )

===(Dump of command "SET")

Microsoft(R) Windows 98
   (C)Copyright Microsoft Corp 1981-1998.

C:\DJGPP>set
TMP=c:\windows\TEMP
TEMP=C:\windows\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
CLASSPATH=C:\Program Files\PhotoDeluxe 2.0\AdobeConnectables
CTSYN=C:\WINDOWS
PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAFEE~1

DJGPP=C:\DJGPP\DJGPP.ENV
windir=C:\WINDOWS
BLASTER=A220 I5 D1 H5 P330 T6
===

> Please post CONFIG.SYS as well.

==(Dump of C:\config.sys)
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE
REM [Header]

REM [CD-ROM Drive]
REM DEVICE=C:\CDROM\ATAPI_CD.SYS /D:MSCD001 /PIO
REM DEVICE=C:\CDROM\TAISATAP.SYS /D:MSCD001 /PIO

REM [Miscellaneous]

REM [Display]

DEVICE=c:\windows\setver.exe
device=c:\windows\COMMAND\display.sys con=(ega,,1)
Country=044,850,c:\windows\COMMAND\country.sys
==

> > RHIDE works okay until I try to get it do do something like compile then the
> > same error occurs, obviously because it is calling one of these (or another)
> > .EXE at that point.
>
> What about other DJGPP programs--do they run or crash?  What does
> go32-v2 print when invoked with no arguments?  Does info.exe work
> normally (just type "info" at the command prompt and see if it
> displays a menu and if you can move around with the cursor keys)?

Yes, I have used info a little and experienced no problem moving around and between
the topics.  The dumps of "go32-v2", "gcc" and "gpp" with no arguments are below.

==
C:\DJGPP>go32-v2
go32/v2 version 2.0 built Nov 15 1998 14:36:43
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your PATH
 but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 67208 Kb
DPMI swap space available: 60484 Kb
==

> Also, did you try to invoke gcc with other source files?  If so, did it also
> crash?  What happens if you just type "gcc" and press [Enter]?

Yes, I tried a very simple piece of code, just a main with a line to print some
text, that crashed too.  I had tried the gcc command with no arguements, but it
gives the following output.

==
C:\DJGPP>gcc
gcc.exe: No input files
==
C:\DJGPP>gpp
gpp.exe: No input files


- Raw text -


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